提交 594fd211 编写于 作者: J John Snow 提交者: Michael Tokarev

trivial: remove trailing newline from error_report

Minor cleanup.
Signed-off-by: NJohn Snow <jsnow@redhat.com>
Reviewed-by: NGonglei <arei.gonglei@huawei.com>
Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 012aef07
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册