aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/monitor.c b/monitor.c
index 5bf32f0a8e..3cb3cf407a 100644
--- a/monitor.c
+++ b/monitor.c
@@ -345,25 +345,25 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
const char *event_name;
Monitor *mon = cur_mon;
- assert(event < EVENT_MAX);
+ assert(event < QEVENT_MAX);
if (!monitor_ctrl_mode(mon))
return;
switch (event) {
- case EVENT_DEBUG:
+ case QEVENT_DEBUG:
event_name = "DEBUG";
break;
- case EVENT_SHUTDOWN:
+ case QEVENT_SHUTDOWN:
event_name = "SHUTDOWN";
break;
- case EVENT_RESET:
+ case QEVENT_RESET:
event_name = "RESET";
break;
- case EVENT_POWERDOWN:
+ case QEVENT_POWERDOWN:
event_name = "POWERDOWN";
break;
- case EVENT_STOP:
+ case QEVENT_STOP:
event_name = "STOP";
break;
default: