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>
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];
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);