diff options
-rw-r--r-- | src/usr.bin/nc/netcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index a8faf83917..31f49a3fc3 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c | |||
@@ -154,7 +154,7 @@ holler(str, p1, p2, p3, p4, p5, p6) | |||
154 | if (h_errno > 4) /* oh no you don't, either */ | 154 | if (h_errno > 4) /* oh no you don't, either */ |
155 | fprintf(stderr, "preposterous h_errno: %d", h_errno); | 155 | fprintf(stderr, "preposterous h_errno: %d", h_errno); |
156 | else | 156 | else |
157 | fprintf(stderr, h_errs[h_errno]); | 157 | fprintf(stderr, "%s", h_errs[h_errno]); |
158 | h_errno = 0; /* and reset for next call */ | 158 | h_errno = 0; /* and reset for next call */ |
159 | } | 159 | } |
160 | #endif | 160 | #endif |