summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
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