This is a standard error_report_err. Convert it.

Cc: Paolo Bonzini <pbonz...@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com>
---

 exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec.c b/exec.c
index 31d2dc7..1e7fad8 100644
--- a/exec.c
+++ b/exec.c
@@ -1241,7 +1241,7 @@ static void *file_ram_alloc(RAMBlock *block,
 
 error:
     if (mem_prealloc) {
-        error_report("%s", error_get_pretty(*errp));
+        error_report_err(*errp);
         exit(1);
     }
     return NULL;
-- 
1.9.1


Reply via email to