diff options
author | Isaku Yamahata | 2009-10-30 13:20:55 +0100 |
---|---|---|
committer | Anthony Liguori | 2009-11-09 15:43:04 +0100 |
commit | 2e49d64ac7578b707f1dffb825cf355b29514fd9 (patch) | |
tree | fee476786324a6ebd364b8eb6eea1f37c3b5e449 | |
parent | Makefile: make qemu-io dependent on config-host.h (diff) | |
download | qemu-2e49d64ac7578b707f1dffb825cf355b29514fd9.tar.gz qemu-2e49d64ac7578b707f1dffb825cf355b29514fd9.tar.xz qemu-2e49d64ac7578b707f1dffb825cf355b29514fd9.zip |
pci: fix PCI_DPRINTF() wrt variadic macro.
add missing ## in PCI_DPRINTF() to compile.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | hw/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |