summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-03-28 18:26:47 +0000
committerdes <des@FreeBSD.org>2006-03-28 18:26:47 +0000
commiteaebf6a04fadbbfb8b4233fba41e02cb5d7fc679 (patch)
treedafbe9ee9eba392f87f40931c6c0789a2ae47ba2 /libexec
parentda0340f07cbf31c55afed6d258f702b571dc9166 (diff)
downloadFreeBSD-src-eaebf6a04fadbbfb8b4233fba41e02cb5d7fc679.zip
FreeBSD-src-eaebf6a04fadbbfb8b4233fba41e02cb5d7fc679.tar.gz
Use C99's varadic macro syntax instead of gcc's.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h
index 3708df6..98fdfb4 100644
--- a/libexec/rtld-elf/debug.h
+++ b/libexec/rtld-elf/debug.h
@@ -45,9 +45,9 @@ extern void debug_printf(const char *, ...) __printflike(1, 2);
extern int debug;
#ifdef DEBUG
-#define dbg(format, args...) debug_printf(format , ## args)
+#define dbg(...) debug_printf(__VA_ARGS__)
#else
-#define dbg(format, args...) ((void) 0)
+#define dbg(...) ((void) 0)
#endif
#ifndef COMPAT_32BIT
OpenPOWER on IntegriCloud