summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-18 19:05:07 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-20 18:55:37 +0200
commit984e1c1e44e3a6de236ab5d8850863a1f995b4e2 (patch)
treeb5f568dbd6310dab166c23904aff053f895e991a /libc/inet
parent54a1c7691bfbfa166e6140260d2f750580f54908 (diff)
resolv: fix compilation
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/resolv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 0fd28ee99..21e84e52c 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -4212,8 +4212,8 @@ int res_mkquery(int op, const char *dname, int class, int type,
#ifdef DEBUG
if (_res_options & RES_DEBUG)
- printf(";; res_mkquery(%d, %s, %s, %d, %d)\n",
- name, (op, dname ? dname : "<Nil>"), class, type);
+ printf(";; res_mkquery(%d, %s, %d, %d)\n",
+ op, dname && *dname ? dname : "<null>", class, type);
#endif
memset(buf, 0, HFIXEDSZ);