From 2e49d64ac7578b707f1dffb825cf355b29514fd9 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Fri, 30 Oct 2009 21:20:55 +0900 Subject: [PATCH] pci: fix PCI_DPRINTF() wrt variadic macro. add missing ## in PCI_DPRINTF() to compile. Signed-off-by: Isaku Yamahata Acked-by: Michael S. Tsirkin Signed-off-by: Anthony Liguori --- hw/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci.c b/hw/pci.c index ef134f7e5c..1c95f88eb4 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -29,7 +29,7 @@ //#define DEBUG_PCI #ifdef DEBUG_PCI -# define PCI_DPRINTF(format, ...) printf(format, __VA_ARGS__) +# define PCI_DPRINTF(format, ...) printf(format, ## __VA_ARGS__) #else # define PCI_DPRINTF(format, ...) do { } while (0) #endif -- GitLab