mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 18:05:37 +00:00
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:
parent
012aef0734
commit
594fd21102
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue