summaryrefslogtreecommitdiff
path: root/hw/fw_cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fw_cfg.c')
-rw-r--r--hw/fw_cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index e1b19d72eb..39bd955905 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -30,10 +30,10 @@
//#define DEBUG_FW_CFG
#ifdef DEBUG_FW_CFG
-#define FW_CFG_DPRINTF(fmt, args...) \
- do { printf("FW_CFG: " fmt , ##args); } while (0)
+#define FW_CFG_DPRINTF(fmt, ...) \
+ do { printf("FW_CFG: " fmt , ## __VA_ARGS__); } while (0)
#else
-#define FW_CFG_DPRINTF(fmt, args...)
+#define FW_CFG_DPRINTF(fmt, ...)
#endif
#define FW_CFG_SIZE 2