diff options
Diffstat (limited to 'hw/iommu.c')
-rw-r--r-- | hw/iommu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/iommu.c b/hw/iommu.c index cde5f1f0ba..d52acd7a25 100644 --- a/hw/iommu.c +++ b/hw/iommu.c @@ -28,10 +28,10 @@ //#define DEBUG_IOMMU #ifdef DEBUG_IOMMU -#define DPRINTF(fmt, args...) \ -do { printf("IOMMU: " fmt , ##args); } while (0) +#define DPRINTF(fmt, ...) \ + do { printf("IOMMU: " fmt , ## __VA_ARGS__); } while (0) #else -#define DPRINTF(fmt, args...) +#define DPRINTF(fmt, ...) #endif #define IOMMU_NREGS (4*4096/4) |