summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/getnetbydns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c
index fd771f2..6e70ece 100644
--- a/lib/libc/net/getnetbydns.c
+++ b/lib/libc/net/getnetbydns.c
@@ -269,7 +269,7 @@ _dns_getnetbyaddr(void *rval, void *cb_data, va_list ap)
} else if (anslen > sizeof(buf)) {
#ifdef DEBUG
if (_res.options & RES_DEBUG)
- printf("res_search static buffer too small");
+ printf("res_search static buffer too small\n");
#endif
return NS_UNAVAIL;
}
@@ -315,7 +315,7 @@ _dns_getnetbyname(void *rval, void *cb_data, va_list ap)
} else if (anslen > sizeof(buf)) {
#ifdef DEBUG
if (_res.options & RES_DEBUG)
- printf("res_search static buffer too small");
+ printf("res_search static buffer too small\n");
#endif
return NS_UNAVAIL;
}
OpenPOWER on IntegriCloud