From: Cédric Le Goater Date: Mon, 25 Jan 2016 14:07:29 +0000 (+0100) Subject: ipmi: cleanup error_report messages X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7cfa06a2f1db6fef2be7f645697dbc6c4006324a;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen.git ipmi: cleanup error_report messages Signed-off-by: Cédric Le Goater Cc: Greg Kurz Acked-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index f7e87b479..d8ca76aea 100644 --- a/hw/ipmi/ipmi_bmc_sim.c +++ b/hw/ipmi/ipmi_bmc_sim.c @@ -1644,7 +1644,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]; @@ -1653,7 +1653,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);