trivial: remove trailing newline from error_report

Minor cleanup.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
John Snow 2015-06-29 16:56:26 -04:00 committed by Michael Tokarev
parent 012aef0734
commit 594fd21102
3 changed files with 4 additions and 4 deletions

View File

@ -876,7 +876,7 @@ static int ahci_populate_sglist(AHCIDevice *ad, QEMUSGList *sglist,
limit - sglist->size));
if (sglist->size > INT32_MAX) {
error_report("AHCI Physical Region Descriptor Table describes "
"more than 2 GiB.\n");
"more than 2 GiB.");
qemu_sglist_destroy(sglist);
r = -1;
goto out;

View File

@ -234,7 +234,7 @@ static void vfio_intp_interrupt(VFIOINTp *intp)
ret = event_notifier_test_and_clear(&intp->interrupt);
if (!ret) {
error_report("Error when clearing fd=%d (ret = %d)\n",
error_report("Error when clearing fd=%d (ret = %d)",
event_notifier_get_fd(&intp->interrupt), ret);
}

View File

@ -211,7 +211,7 @@ int tap_fd_set_vnet_le(int fd, int is_le)
return -errno;
}
error_report("TUNSETVNETLE ioctl() failed: %s.\n", strerror(errno));
error_report("TUNSETVNETLE ioctl() failed: %s.", strerror(errno));
abort();
}
@ -228,7 +228,7 @@ int tap_fd_set_vnet_be(int fd, int is_be)
return -errno;
}
error_report("TUNSETVNETBE ioctl() failed: %s.\n", strerror(errno));
error_report("TUNSETVNETBE ioctl() failed: %s.", strerror(errno));
abort();
}