]> git.wh0rd.org Git - elf2flt.git/commitdiff
Make varargs debug macros GCC-2.x compatible.
authorDavid McCullough <davidm@snapgear.com>
Fri, 22 Jan 2010 01:54:20 +0000 (01:54 +0000)
committerDavid McCullough <davidm@snapgear.com>
Fri, 22 Jan 2010 01:54:20 +0000 (01:54 +0000)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
stubs.h

diff --git a/stubs.h b/stubs.h
index 7e5308d96052cba6495cc5e6bbbea22798669020..615cab57fbbb9d8de99f27c0ff5444572ee8608b 100644 (file)
--- a/stubs.h
+++ b/stubs.h
@@ -41,7 +41,7 @@
 #define _debug(lvl, fmt, args...) \
        do { \
                if (lvl <= DEBUG) { \
-                       fprintf(stderr, "%s:%i: " fmt, __func__, __LINE__, ## args); \
+                       fprintf(stderr, "%s:%i: " fmt, __func__, __LINE__ , ## args); \
                        fflush(stderr); \
                } \
        } while (0)