diff options
Diffstat (limited to 'arch_init.c')
-rw-r--r-- | arch_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch_init.c b/arch_init.c index 89c8fa46bb..8414726e30 100644 --- a/arch_init.c +++ b/arch_init.c @@ -1093,8 +1093,7 @@ static int ram_load(QEMUFile *f, void *opaque, int version_id) ret = qemu_ram_resize(block->offset, length, &local_err); if (local_err) { - error_report("%s", error_get_pretty(local_err)); - error_free(local_err); + error_report_err(local_err); } } break; |