Revision 001faf32 hw/eccmemctl.c

b/hw/eccmemctl.c
28 28
//#define DEBUG_ECC
29 29

  
30 30
#ifdef DEBUG_ECC
31
#define DPRINTF(fmt, args...)                           \
32
    do { printf("ECC: " fmt , ##args); } while (0)
31
#define DPRINTF(fmt, ...)                                       \
32
    do { printf("ECC: " fmt , ## __VA_ARGS__); } while (0)
33 33
#else
34
#define DPRINTF(fmt, args...)
34
#define DPRINTF(fmt, ...)
35 35
#endif
36 36

  
37 37
/* There are 3 versions of this chip used in SMP sun4m systems:

Also available in: Unified diff