diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-01-20 12:58:55 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-01-30 23:37:37 +1100 |
commit | d54e4d7659ebecd0e1fa7ffc3e954197e09f8a1f (patch) | |
tree | 516d067ee8cf7bc5eadc4ce89e7c086628c8d9d8 /target-ppc/translate.c | |
parent | 1e49182d05016756be3c7c43a4934f5104717512 (diff) |
pseries: Clean up error reporting in ppc_spapr_init()
This function includes a number of explicit fprintf()s for errors.
Change these to use error_report() instead.
Also replace the single exit(EXIT_FAILURE) with an explicit exit(1), since
the latter is the more usual idiom in qemu by a large margin.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target-ppc/translate.c')
0 files changed, 0 insertions, 0 deletions