All pastes #502162 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-22 11:46 UTC
rendered paste body
--- if_ath.h    (revision 2364)
+++ if_ath.h    (working copy)
@@ -87,9 +85,9 @@
        ATH_DEBUG_FATAL         = 0x80000000,   /* fatal errors */
        ATH_DEBUG_ANY           = 0xffffffff
 };
-#define        DPRINTF(sc, _m, _fmt, ...) do {                         \
-       if (sc->sc_debug & (_m))                                \
-               printk(_fmt, __VA_ARGS__);                      \
+#define        DPRINTF(sc, _m, _fmt, args...) do {                             \
+       if (sc->sc_debug & (_m))                \
+               printk(_fmt, ## args);          \
 } while (0)
 #else /* defined(AR_DEBUG) */
 #define        DPRINTF(sc, _m, _fmt, ...)