aboutsummaryrefslogtreecommitdiff
path: root/hw/e1000.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-05-13 18:09:29 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-05-13 18:09:29 +0000
commit6c7f4b47f778258493744a690bfc8dbbb7d21f69 (patch)
treed640916fe737f77a0da6a7805f895929dce431f6 /hw/e1000.c
parent001faf3269541f0231482e0fccc846f62f8930b2 (diff)
downloadqemu-6c7f4b47f778258493744a690bfc8dbbb7d21f69.zip
qemu-6c7f4b47f778258493744a690bfc8dbbb7d21f69.tar.gz
qemu-6c7f4b47f778258493744a690bfc8dbbb7d21f69.tar.bz2
Replace gcc variadic macro extension with C99 version (missed one)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/e1000.c')
-rw-r--r--hw/e1000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/e1000.c b/hw/e1000.c
index 940e893..171ebe0 100644
--- a/hw/e1000.c
+++ b/hw/e1000.c
@@ -41,12 +41,12 @@ enum {
#define DBGBIT(x) (1<<DEBUG_##x)
static int debugflags = DBGBIT(TXERR) | DBGBIT(GENERAL);
-#define DBGOUT(what, fmt, params...) do { \
+#define DBGOUT(what, fmt, ...) do { \
if (debugflags & DBGBIT(what)) \
- fprintf(stderr, "e1000: " fmt, ##params); \
+ fprintf(stderr, "e1000: " fmt, ## __VA_ARGS__); \
} while (0)
#else
-#define DBGOUT(what, fmt, params...) do {} while (0)
+#define DBGOUT(what, fmt, ...) do {} while (0)
#endif
#define IOPORT_SIZE 0x40