Received: from eggs.gnu.org ([2001:4830:134:3::10]:37026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNhoY-0004Ri-3T for qemu-devel@nongnu.org; Mon, 25 Jan 2016 09:08:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNhoT-0007CF-Ss for qemu-devel@nongnu.org; Mon, 25 Jan 2016 09:08:18 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:35443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNhoT-0007C1-IK for qemu-devel@nongnu.org; Mon, 25 Jan 2016 09:08:13 -0500 Received: from localhost by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 25 Jan 2016 14:08:12 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id F254E17D8063 for ; Mon, 25 Jan 2016 14:08:18 +0000 (GMT) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0PE8B7P9044360 for ; Mon, 25 Jan 2016 14:08:11 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0PD8C7T002616 for ; Mon, 25 Jan 2016 06:08:12 -0700 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Mon, 25 Jan 2016 15:07:29 +0100 Message-Id: <1453730855-29302-5-git-send-email-clg@fr.ibm.com> In-Reply-To: <1453730855-29302-1-git-send-email-clg@fr.ibm.com> References: <1453730855-29302-1-git-send-email-clg@fr.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v3 04/10] ipmi: cleanup error_report messages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Minyard Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Greg Kurz , qemu-devel@nongnu.org, "Michael S. Tsirkin" Signed-off-by: Cédric Le Goater Cc: Greg Kurz --- hw/ipmi/ipmi_bmc_sim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index fc596a548df7..2c540c0782c9 100644 --- a/hw/ipmi/ipmi_bmc_sim.c +++ b/hw/ipmi/ipmi_bmc_sim.c @@ -1646,7 +1646,7 @@ static void ipmi_sim_init(Object *obj) for (i = 0;;) { int len; if ((i + 5) > sizeof(init_sdrs)) { - error_report("Problem with recid 0x%4.4x: \n", i); + error_report("Problem with recid 0x%4.4x", i); return; } len = init_sdrs[i + 4]; @@ -1655,7 +1655,7 @@ static void ipmi_sim_init(Object *obj) break; } if ((i + len + 5) > sizeof(init_sdrs)) { - error_report("Problem with recid 0x%4.4x\n", i); + error_report("Problem with recid 0x%4.4x", i); return; } sdr_add_entry(ibs, init_sdrs + i, len, NULL); -- 2.1.4