summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-05-21 02:30:22 +0000
committerkevlo <kevlo@FreeBSD.org>2012-05-21 02:30:22 +0000
commitc50e4642a98f93c6d63ed6e3af62b00b1960dc38 (patch)
treef852dff7a52a3624db01ac48e4990a03631ad3e0 /sys/libkern
parentd6b2311f2355e04057ff108edde3b3efa24515e8 (diff)
downloadFreeBSD-src-c50e4642a98f93c6d63ed6e3af62b00b1960dc38.zip
FreeBSD-src-c50e4642a98f93c6d63ed6e3af62b00b1960dc38.tar.gz
Fix improper handling of variadic args with ICDEBUG
PR: kern/168095 Submitted by: gcooper
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/iconv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/libkern/iconv.c b/sys/libkern/iconv.c
index 92b04c2..e03d8ca 100644
--- a/sys/libkern/iconv.c
+++ b/sys/libkern/iconv.c
@@ -549,9 +549,7 @@ int
iconv_lookupcp(char **cpp, const char *s)
{
if (cpp == NULL) {
- ICDEBUG("warning a NULL list passed\n", ""); /* XXX ISO variadic macros cannot
- leave out the
- variadic args */
+ ICDEBUG("warning a NULL list passed\n", "");
return ENOENT;
}
for (; *cpp; cpp++)
OpenPOWER on IntegriCloud