]> git.proxmox.com Git - qemu.git/blobdiff - hw/mips_malta.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / mips_malta.c
index fd81753d2bad6dc7a465da23389fd4288a37a541..9710adc24e30a289f07f0910561b9d1b00ab35aa 100644 (file)
@@ -114,9 +114,9 @@ static void malta_fpga_update_display(void *opaque)
 //~ #define DEBUG
 
 #if defined(DEBUG)
-#  define logout(fmt, args...) fprintf(stderr, "MALTA\t%-24s" fmt, __func__, ##args)
+#  define logout(fmt, ...) fprintf(stderr, "MALTA\t%-24s" fmt, __func__, ## __VA_ARGS__)
 #else
-#  define logout(fmt, args...) ((void)0)
+#  define logout(fmt, ...) ((void)0)
 #endif
 
 struct _eeprom24c0x_t {