diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2016-01-25 15:07:29 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:31:48 -0600 |
commit | aae3c2003de32785264a93dff6fccb7e5881619f (patch) | |
tree | f38cab523913477b5be9ec3095cdd2975d6f00ff | |
parent | 7ed75762ed05ab6701806d1fb7ce31ff47bbed18 (diff) | |
download | hqemu-aae3c2003de32785264a93dff6fccb7e5881619f.zip hqemu-aae3c2003de32785264a93dff6fccb7e5881619f.tar.gz |
ipmi: cleanup error_report messages
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Cc: Greg Kurz <gkurz@linux.vnet.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | hw/ipmi/ipmi_bmc_sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index f7e87b4..d8ca76a 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); |