summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_query.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-27 09:55:50 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-27 09:55:50 +0000
commit1c721a73ef08637f36f035a2aecfee40a0d958e5 (patch)
tree17e75b583f4023d9f4d4d44036ef56e3e5f873d0 /lib/libc/net/res_query.c
parentcea38283287689121306df45973ff5395525867c (diff)
%d/%u mixup (in #ifdef DEBUG)
Diffstat (limited to 'lib/libc/net/res_query.c')
-rw-r--r--lib/libc/net/res_query.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/res_query.c b/lib/libc/net/res_query.c
index 53837815c38..9c1aef1218f 100644
--- a/lib/libc/net/res_query.c
+++ b/lib/libc/net/res_query.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_query.c,v 1.18 2002/05/24 21:22:37 deraadt Exp $ */
+/* $OpenBSD: res_query.c,v 1.19 2002/06/27 09:55:49 itojun Exp $ */
/*
* ++Copyright++ 1988, 1993
@@ -60,7 +60,7 @@
static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $";
#else
-static char rcsid[] = "$OpenBSD: res_query.c,v 1.18 2002/05/24 21:22:37 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: res_query.c,v 1.19 2002/06/27 09:55:49 itojun Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -149,7 +149,7 @@ res_query(name, class, type, answer, anslen)
if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
#ifdef DEBUG
if (_res.options & RES_DEBUG)
- printf(";; rcode = %d, ancount=%d\n", hp->rcode,
+ printf(";; rcode = %u, ancount=%u\n", hp->rcode,
ntohs(hp->ancount));
#endif
switch (hp->rcode) {