Revision 001faf32 hw/eeprom93xx.c

b/hw/eeprom93xx.c
44 44
//~ #define DEBUG_EEPROM
45 45

  
46 46
#ifdef DEBUG_EEPROM
47
#define logout(fmt, args...) fprintf(stderr, "EEPROM\t%-24s" fmt, __func__, ##args)
47
#define logout(fmt, ...) fprintf(stderr, "EEPROM\t%-24s" fmt, __func__, ## __VA_ARGS__)
48 48
#else
49
#define logout(fmt, args...) ((void)0)
49
#define logout(fmt, ...) ((void)0)
50 50
#endif
51 51

  
52 52
#define EEPROM_INSTANCE  0

Also available in: Unified diff