summaryrefslogtreecommitdiffstats
path: root/hw/ide/ahci.c
diff options
context:
space:
mode:
authorJohn Snow2015-06-29 22:56:26 +0200
committerMichael Tokarev2015-09-11 09:21:38 +0200
commit594fd21102aa7b7dce1509b31944d10836108c6b (patch)
tree5f3edc5971929fba162702a9dc9dd13594d0df6e /hw/ide/ahci.c
parentmaint: avoid useless "if (foo) free(foo)" pattern (diff)
downloadqemu-594fd21102aa7b7dce1509b31944d10836108c6b.tar.gz
qemu-594fd21102aa7b7dce1509b31944d10836108c6b.tar.xz
qemu-594fd21102aa7b7dce1509b31944d10836108c6b.zip
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>
Diffstat (limited to 'hw/ide/ahci.c')
-rw-r--r--hw/ide/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index d83efa47a4..44f6e27398 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;