projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74dda92
)
pci: fix PCI_DPRINTF() wrt variadic macro.
author
Isaku Yamahata
<yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:20:55 +0000
(21:20 +0900)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:04 +0000
(08:43 -0600)
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>
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index ef134f7e5c506074256ac82df2b685f34af3ed55..1c95f88eb4b9fa4386ec0dd6c05333e13949f892 100644
(file)
--- 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