summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netcat.c b/netcat.c
index 87dc269..722416e 100644
--- a/netcat.c
+++ b/netcat.c
@@ -200,7 +200,7 @@ void holler (str, p1, p2, p3, p4, p5, p6)
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