diff options
Diffstat (limited to 'hw/slavio_timer.c')
-rw-r--r-- | hw/slavio_timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/slavio_timer.c b/hw/slavio_timer.c index 6a29ce2711..725b16d0e4 100644 --- a/hw/slavio_timer.c +++ b/hw/slavio_timer.c @@ -28,10 +28,10 @@ //#define DEBUG_TIMER #ifdef DEBUG_TIMER -#define DPRINTF(fmt, args...) \ -do { printf("TIMER: " fmt , ##args); } while (0) +#define DPRINTF(fmt, ...) \ + do { printf("TIMER: " fmt , ## __VA_ARGS__); } while (0) #else -#define DPRINTF(fmt, args...) do {} while (0) +#define DPRINTF(fmt, ...) do {} while (0) #endif /* |