Message ID | 1380176328-21320-5-git-send-email-aik@ozlabs.ru |
---|---|
State | New |
Headers | show |
On Thu, Sep 26, 2013 at 04:18:38PM +1000, Alexey Kardashevskiy wrote: > 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> Trivial. Acked-by: David Gibson <david@gibson.dropbear.id.au>
diff --git a/hw/intc/xics.c b/hw/intc/xics.c index a0d71ef..666888d 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(); } }