[git commit] resolv: fix compilation
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Oct 20 16:55:37 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=984e1c1e44e3a6de236ab5d8850863a1f995b4e2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/inet/resolv.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 0fd28ee..21e84e5 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);
More information about the uClibc-cvs
mailing list