]> git.proxmox.com Git - qemu.git/blobdiff - hw/sm501.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / sm501.c
index fe3782bf4a404ebbf9b5988cbd4e16a319096b4d..316aba2c616aeaab18fecc1663158a70e8bac5d0 100644 (file)
@@ -47,9 +47,9 @@
 //#define DEBUG_BITBLT
 
 #ifdef DEBUG_SM501
-#define SM501_DPRINTF(fmt...) printf(fmt)
+#define SM501_DPRINTF(fmt, ...) printf(fmt, ## __VA_ARGS__)
 #else
-#define SM501_DPRINTF(fmt...) do {} while(0)
+#define SM501_DPRINTF(fmt...) do {} while(0)
 #endif