Commit 594fd211 authored by John Snow's avatar John Snow Committed by Michael Tokarev
Browse files

trivial: remove trailing newline from error_report



Minor cleanup.

Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
Reviewed-by: default avatarGonglei <arei.gonglei@huawei.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 012aef07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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);
    }

+2 −2
Original line number Diff line number Diff line
@@ -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();
}