summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/ide/ahci.c2
-rw-r--r--hw/vfio/platform.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index d83efa4..44f6e27 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -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;
diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c
index 60365d1..de4ec52 100644
--- a/hw/vfio/platform.c
+++ b/hw/vfio/platform.c
@@ -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);
}
OpenPOWER on IntegriCloud