From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZovW-0003o4-KI for qemu-devel@nongnu.org; Fri, 25 Oct 2013 17:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZovJ-0002Z8-6o for qemu-devel@nongnu.org; Fri, 25 Oct 2013 17:28:14 -0400 From: Alexander Graf Date: Fri, 25 Oct 2013 23:27:37 +0200 Message-Id: <1382736474-32128-13-git-send-email-agraf@suse.de> In-Reply-To: <1382736474-32128-1-git-send-email-agraf@suse.de> References: <1382736474-32128-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 12/29] xics: replace fprintf with error_report List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Blue Swirl , Alexey Kardashevskiy , "qemu-ppc@nongnu.org list:PowerPC" , Anthony Liguori , Aurelien Jarno From: Alexey Kardashevskiy This replaces old-style fprintf with new style error_report. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andreas F=C3=A4rber Acked-by: David Gibson Signed-off-by: Alexander Graf --- 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 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" =20 void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu) { @@ -48,8 +49,8 @@ void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu) break; =20 default: - fprintf(stderr, "XICS interrupt controller does not support this= CPU " - "bus model\n"); + error_report("XICS interrupt controller does not support this CP= U " + "bus model"); abort(); } } --=20 1.8.1.4