am 3b923003: Avoid calling res_init() since it\'s a private API in bionic
Merge commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2' into gingerbread-plus-aosp
* commit '3b923003c7c5a13b4ff2e2091acd307e9d1304b2':
Avoid calling res_init() since it's a private API in bionic
diff --git a/netcat.c b/netcat.c
index 87dc269..722416e 100644
--- a/netcat.c
+++ b/netcat.c
@@ -200,7 +200,7 @@
if (h_errno > 4) /* oh no you don't, either */
fprintf (stderr, "preposterous h_errno: %d", h_errno);
else
- fprintf (stderr, h_errs[h_errno]); /* handle it here */
+ fprintf (stderr, "%s", h_errs[h_errno]); /* handle it here */
h_errno = 0; /* and reset for next call */
}
#endif