diff options
| author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2015-03-04 18:25:54 +0800 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-03-19 11:11:55 +0300 |
| commit | 198675491fcec79f6ebb5d85ccaa52beecd56e43 (patch) | |
| tree | 7ab85fc68df71da72782f65b5f5b150cecf9d7b6 /hw/arm/virt.c | |
| parent | 6e05a12f8f7f32a3fecbeb0c572d549a5f6e9177 (diff) | |
| download | focaccia-qemu-198675491fcec79f6ebb5d85ccaa52beecd56e43.tar.gz focaccia-qemu-198675491fcec79f6ebb5d85ccaa52beecd56e43.zip | |
error: Replace error_report() & error_free() with error_report_err()
This is a continuation of the work started in commit 565f65d27: "error: Use error_report_err() where appropriate" Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/arm/virt.c')
| -rw-r--r-- | hw/arm/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index b2eaea8353..b652b07ced 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -771,7 +771,7 @@ static void machvirt_init(MachineState *machine) cc->parse_features(CPU(cpuobj), cpuopts, &err); g_free(cpuopts); if (err) { - error_report("%s", error_get_pretty(err)); + error_report_err(err); exit(1); } |