From 95fada8c2cb2ef175b49a1db3e4e041d5a8ea46d Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 20 Jan 2010 13:07:33 +0100 Subject: monitor: convert do_physical_memory_save() to QError Signed-off-by: Markus Armbruster Signed-off-by: Anthony Liguori --- monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 7b7a46585a..614d2d691b 100644 --- a/monitor.c +++ b/monitor.c @@ -1343,7 +1343,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) { -- cgit v1.2.3