aboutsummaryrefslogtreecommitdiff
path: root/monitor/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/monitor.c')
-rw-r--r--monitor/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/monitor.c b/monitor/monitor.c
index 00d287655e..2282bf6780 100644
--- a/monitor/monitor.c
+++ b/monitor/monitor.c
@@ -631,7 +631,7 @@ int monitor_init(MonitorOptions *opts, Error **errp)
warn_report("'pretty' is deprecated for HMP monitors, it has no "
"effect and will be removed in future versions");
}
- monitor_init_hmp(chr, true);
+ monitor_init_hmp(chr, true, &local_err);
break;
default:
g_assert_not_reached();