Browse Source

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>
pull/8/head
Alexey Kardashevskiy 13 years ago
committed by Alexander Graf
parent
commit
9ccff2a4d6
  1. 5
      hw/intc/xics.c

5
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();
}
}

Loading…
Cancel
Save