summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-06 18:45:13 +0000
committernectar <nectar@FreeBSD.org>2004-01-06 18:45:13 +0000
commitcdff4028d6f5e91b9005820bd2cedda7d360fa4d (patch)
treeb90dae6df6a6a7892550b250920b9986e405fdbe /lib/libc
parentd76901e917b0568cf0ea0319ff283018bdf31a26 (diff)
downloadFreeBSD-src-cdff4028d6f5e91b9005820bd2cedda7d360fa4d.zip
FreeBSD-src-cdff4028d6f5e91b9005820bd2cedda7d360fa4d.tar.gz
Work around a `warning: zero-length printf format string'.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/res_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c
index 6accd3c..fea5f54 100644
--- a/lib/libc/net/res_send.c
+++ b/lib/libc/net/res_send.c
@@ -848,7 +848,7 @@ read_len:
(stdout, ";; got answer:\n"));
DprintQ((_res.options & RES_DEBUG) ||
(_res.pfcode & RES_PRF_REPLY),
- (stdout, ""),
+ (stdout, "%.*s", 0, ""),
ans, (resplen>anssiz)?anssiz:resplen);
/*
* If using virtual circuits, we assume that the first server
OpenPOWER on IntegriCloud