]> Git Repo - qemu.git/commitdiff
trivial: remove trailing newline from error_report
authorJohn Snow <[email protected]>
Mon, 29 Jun 2015 20:56:26 +0000 (16:56 -0400)
committerMichael Tokarev <[email protected]>
Fri, 11 Sep 2015 07:21:38 +0000 (10:21 +0300)
Minor cleanup.

Signed-off-by: John Snow <[email protected]>
Reviewed-by: Gonglei <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
hw/ide/ahci.c
hw/vfio/platform.c
net/tap-linux.c

index d83efa47a49f7559558570276a91a077f775d2ac..44f6e27398871b6dd5a010711d61000e1b24fbe5 100644 (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;
index 60365d1279ec4e0b5c62a6f8f87194188cbd10c9..de4ec52a07c00b9378a9ad71975d240dd5666fbf 100644 (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);
     }
 
index 394f2a646fc00ea561baf4edea4bcc40a62bdbd0..5bd9d21898e74313e64d9ee661a4aadcb108ec14 100644 (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();
 }
 
This page took 0.031073 seconds and 4 git commands to generate.