Message ID | 523291450.19138315.1371155703116.JavaMail.root@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/ui/console.c b/ui/console.c index 0efd588..3a1e6ed 100644 --- a/ui/console.c +++ b/ui/console.c @@ -334,7 +334,9 @@ int qmp_screendump(Monitor *mon, const QDict *qdict, return -1; } if (con->screendump.filename != NULL) { - qerror_report(QERR_SCREENDUMP_IN_PROGRESS); + QError *err = NULL; + error_setg(err, "Existing screendump in progress"); + monitor_set_error(mon, err); return -1; } con->screendump.filename = g_strdup(filename);