summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_debug.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-09-15 09:30:42 +0000
committertholo <tholo@openbsd.org>1996-09-15 09:30:42 +0000
commitc8f91e0d750eb1dd5aa79a93a20a522c47067c28 (patch)
tree151e2a572b80f59c243874a0738c218470cf1bc0 /lib/libc/net/res_debug.c
parentprint debugging flags in usage(); idea from freebsd (diff)
downloadwireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.tar.xz
wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.zip
Remove dead code
Remove unused variables Silence some warnings lint(1) is your friend
Diffstat (limited to 'lib/libc/net/res_debug.c')
-rw-r--r--lib/libc/net/res_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/res_debug.c b/lib/libc/net/res_debug.c
index e8fc192c512..ae6c030a1f0 100644
--- a/lib/libc/net/res_debug.c
+++ b/lib/libc/net/res_debug.c
@@ -52,7 +52,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: res_debug.c,v 1.3 1996/08/19 08:29:44 tholo Exp $";
+static char rcsid[] = "$OpenBSD: res_debug.c,v 1.4 1996/09/15 09:31:18 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -601,7 +601,7 @@ __p_rr(cp, msg, file)
case T_UINFO:
putc('\t', file);
- fputs(cp, file);
+ fputs((char *) cp, file);
cp += dlen;
break;