X-Git-Url: http://git.maemo.org/git/?p=qemu;a=blobdiff_plain;f=hw%2Fpflash_cfi02.c;fp=hw%2Fpflash_cfi02.c;h=60edbf5d2a5a020eb259c4595c13be09c9ba4246;hp=799398ca1aa7ec9eddfef9444d8357851722f935;hb=a03c3bde4e288e790eccfb8cd45abd8ecbf467dc;hpb=e2ffa1bf065fa199f27d661d495573e9d6059bf1 diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index 799398c..60edbf5 100644 --- a/hw/pflash_cfi02.c +++ b/hw/pflash_cfi02.c @@ -43,12 +43,12 @@ //#define PFLASH_DEBUG #ifdef PFLASH_DEBUG -#define DPRINTF(fmt, args...) \ +#define DPRINTF(fmt, ...) \ do { \ - printf("PFLASH: " fmt , ##args); \ + printf("PFLASH: " fmt , ## __VA_ARGS__); \ } while (0) #else -#define DPRINTF(fmt, args...) do { } while (0) +#define DPRINTF(fmt, ...) do { } while (0) #endif struct pflash_t {