Message ID | 1263989255-13755-5-git-send-email-armbru@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/monitor.c b/monitor.c index e63d0a7..816f6fd 100644 --- a/monitor.c +++ b/monitor.c @@ -1344,7 +1344,7 @@ static void do_physical_memory_save(Monitor *mon, const QDict *qdict, f = fopen(filename, "wb"); if (!f) { - monitor_printf(mon, "could not open '%s'\n", filename); + qemu_error_new(QERR_OPEN_FILE_FAILED, filename); return; } while (size != 0) {
Signed-off-by: Markus Armbruster <armbru@redhat.com> --- monitor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)