aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-09-26 16:18:38 +1000
committerAlexander Graf <agraf@suse.de>2013-10-25 23:25:46 +0200
commit9ccff2a4d604d31f01398190758072253dc3c188 (patch)
treedb1a5ca510ad2fd51b8d5c55f5b9c5d4a379f807 /hw/intc
parent24408a7d2b459bed3697367b81ada76518ca96ef (diff)
xics: replace fprintf with error_report
This replaces old-style fprintf with new style error_report. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Andreas Färber <afaerber@suse.de> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index a0d71efd65..666888d527 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -29,6 +29,7 @@
#include "trace.h"
#include "hw/ppc/spapr.h"
#include "hw/ppc/xics.h"
+#include "qemu/error-report.h"
void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
{
@@ -48,8 +49,8 @@ void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
break;
default:
- fprintf(stderr, "XICS interrupt controller does not support this CPU "
- "bus model\n");
+ error_report("XICS interrupt controller does not support this CPU "
+ "bus model");
abort();
}
}