Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,
make xreadlink() return NULL on failure, and make sure everyone
uses the interface correctly.
 -Erik
diff --git a/miscutils/readlink.c b/miscutils/readlink.c
index 2266495..c46ebd1 100644
--- a/miscutils/readlink.c
+++ b/miscutils/readlink.c
@@ -37,6 +37,8 @@
 		show_usage();
 
 	buf = xreadlink(argv[1]);
+	if (!buf)
+		return EXIT_FAILURE;
 	puts(buf);
 #ifdef BB_FEATURE_CLEAN_UP
 	free(buf);