Skip to content

Commit

Permalink
ipmi: cleanup error_report messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cédric Le Goater authored and mstsirkin committed Feb 6, 2016
1 parent 62a4931 commit 7cfa06a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/ipmi/ipmi_bmc_sim.c
Expand Up @@ -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];
Expand All @@ -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);
Expand Down

0 comments on commit 7cfa06a

Please sign in to comment.