Merge branch 'master' of /home/nchip/public_html/qemu into garage-push
[qemu] / hw / pci_host.h
index c4f42a4..757b0e2 100644 (file)
 //#define DEBUG_PCI
 
 #ifdef DEBUG_PCI
-#define PCI_DPRINTF(fmt, args...) \
-do { printf("pci_host_data: " fmt , ##args); } while (0)
+#define PCI_DPRINTF(fmt, ...) \
+do { printf("pci_host_data: " fmt , ## __VA_ARGS__); } while (0)
 #else
-#define PCI_DPRINTF(fmt, args...)
+#define PCI_DPRINTF(fmt, ...)
 #endif
 
 typedef struct {