From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFHGb-0000Ry-IX for qemu-devel@nongnu.org; Fri, 30 Aug 2013 01:29:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFHGP-0004mc-1i for qemu-devel@nongnu.org; Fri, 30 Aug 2013 01:29:05 -0400 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:32778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFHGO-0004ky-Eg for qemu-devel@nongnu.org; Fri, 30 Aug 2013 01:28:52 -0400 Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 30 Aug 2013 15:17:29 +1000 From: Alexey Kardashevskiy Date: Fri, 30 Aug 2013 15:28:25 +1000 Message-Id: <1377840513-24882-5-git-send-email-aik@ozlabs.ru> In-Reply-To: <1377840513-24882-1-git-send-email-aik@ozlabs.ru> References: <1377840513-24882-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v4 04/12] xics: replace fprintf with error_report List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , Alexander Graf , qemu-ppc@nongnu.org, Paul Mackerras , =?UTF-8?q?Andreas=20F=C3=A4rber?= , David Gibson This replaces old-style fprintf with new style error_report. Signed-off-by: Alexey Kardashevskiy --- hw/intc/xics.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 539a33a..cc4894d 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(); } } -- 1.8.4.rc4