Revision 001faf32 hw/sparc32_dma.c

b/hw/sparc32_dma.c
37 37
 */
38 38

  
39 39
#ifdef DEBUG_DMA
40
#define DPRINTF(fmt, args...) \
41
do { printf("DMA: " fmt , ##args); } while (0)
40
#define DPRINTF(fmt, ...)                               \
41
    do { printf("DMA: " fmt , ## __VA_ARGS__); } while (0)
42 42
#else
43
#define DPRINTF(fmt, args...)
43
#define DPRINTF(fmt, ...)
44 44
#endif
45 45

  
46 46
#define DMA_REGS 4

Also available in: Unified diff