]> git.proxmox.com Git - qemu.git/blobdiff - hw/eepro100.c
Replace gcc variadic macro extension with C99 version
[qemu.git] / hw / eepro100.c
index 235e598725c35aa5e9b12651a97db9bbabb4d933..7dbbca009486d95a7735f2b387327d4d869c080a 100644 (file)
@@ -60,9 +60,9 @@
 //~ #define DEBUG_EEPRO100
 
 #ifdef DEBUG_EEPRO100
-#define logout(fmt, args...) fprintf(stderr, "EE100\t%-24s" fmt, __func__, ##args)
+#define logout(fmt, ...) fprintf(stderr, "EE100\t%-24s" fmt, __func__, ## __VA_ARGS__)
 #else
-#define logout(fmt, args...) ((void)0)
+#define logout(fmt, ...) ((void)0)
 #endif
 
 /* Set flags to 0 to disable debug output. */