From 9ccff2a4d604d31f01398190758072253dc3c188 Mon Sep 17 00:00:00 2001 From: Alexey Kardashevskiy Date: Thu, 26 Sep 2013 16:18:38 +1000 Subject: xics: replace fprintf with error_report MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This replaces old-style fprintf with new style error_report. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andreas Färber Acked-by: David Gibson Signed-off-by: Alexander Graf --- hw/intc/xics.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hw/intc') 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(); } } -- cgit v1.2.3