diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-10-30 21:20:55 +0900 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-09 08:43:04 -0600 |
commit | 2e49d64ac7578b707f1dffb825cf355b29514fd9 (patch) | |
tree | fee476786324a6ebd364b8eb6eea1f37c3b5e449 /hw/pci.c | |
parent | 783c4f5835688eac4121e14bdeba79577d061a13 (diff) |
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>
Diffstat (limited to 'hw/pci.c')
-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 |