projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'gnu/master' into test
[qemu]
/
hw
/
pflash_cfi02.c
diff --git
a/hw/pflash_cfi02.c
b/hw/pflash_cfi02.c
index
799398c
..
60edbf5
100644
(file)
--- a/
hw/pflash_cfi02.c
+++ b/
hw/pflash_cfi02.c
@@
-43,12
+43,12
@@
//#define PFLASH_DEBUG
#ifdef PFLASH_DEBUG
//#define PFLASH_DEBUG
#ifdef PFLASH_DEBUG
-#define DPRINTF(fmt, args...) \
+#define DPRINTF(fmt, ...) \
do { \
do { \
- printf("PFLASH: " fmt , ##args); \
+ printf("PFLASH: " fmt , ## __VA_ARGS__); \
} while (0)
#else
} while (0)
#else
-#define DPRINTF(fmt, args...) do { } while (0)
+#define DPRINTF(fmt, ...) do { } while (0)
#endif
struct pflash_t {
#endif
struct pflash_t {