From: Isaku Yamahata Date: Fri, 30 Oct 2009 12:20:55 +0000 (+0900) Subject: pci: fix PCI_DPRINTF() wrt variadic macro. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2e49d64ac7578b707f1dffb825cf355b29514fd9;p=qemu.git 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 --- 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