summaryrefslogtreecommitdiffstats
path: root/hw/heathrow_pic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/heathrow_pic.c')
-rw-r--r--hw/heathrow_pic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c
index f0518bb..9a67ec0 100644
--- a/hw/heathrow_pic.c
+++ b/hw/heathrow_pic.c
@@ -29,10 +29,10 @@
//#define DEBUG_PIC
#ifdef DEBUG_PIC
-#define PIC_DPRINTF(fmt, args...) \
-do { printf("PIC: " fmt , ##args); } while (0)
+#define PIC_DPRINTF(fmt, ...) \
+ do { printf("PIC: " fmt , ## __VA_ARGS__); } while (0)
#else
-#define PIC_DPRINTF(fmt, args...)
+#define PIC_DPRINTF(fmt, ...)
#endif
typedef struct HeathrowPIC {
OpenPOWER on IntegriCloud