Revision b4475aa2 monitor.c

b/monitor.c
143 143
    QLIST_ENTRY(Monitor) entry;
144 144
};
145 145

  
146
#ifdef CONFIG_DEBUG_MONITOR
147
#define MON_DEBUG(fmt, ...) do {    \
148
    fprintf(stderr, "Monitor: ");       \
149
    fprintf(stderr, fmt, ## __VA_ARGS__); } while (0)
150
#else /* !CONFIG_DEBUG_MONITOR */
151
#define MON_DEBUG(fmt, ...) do { } while (0)
152
#endif /* CONFIG_DEBUG_MONITOR */
153

  
146 154
static QLIST_HEAD(mon_list, Monitor) mon_list;
147 155

  
148 156
static const mon_cmd_t mon_cmds[];

Also available in: Unified diff