mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0141-p2v-Remove-trailing-n-from-fixed-disks-device-box.patch

e76f14
From ec9c4fa9e396b110bca94845d2d752081b6c5e4c Mon Sep 17 00:00:00 2001
e76f14
From: "Richard W.M. Jones" <rjones@redhat.com>
e76f14
Date: Tue, 28 Jun 2016 13:38:34 +0100
e76f14
Subject: [PATCH] p2v: Remove trailing \n from fixed disks device box.
e76f14
e76f14
Fixes commit 6aba5a49448d8ed9776164005080620d37bb97e0.
e76f14
e76f14
(cherry picked from commit 13307325e8a4bf12016897224d069309deb34135)
e76f14
---
e76f14
 p2v/gui.c | 2 +-
e76f14
 1 file changed, 1 insertion(+), 1 deletion(-)
e76f14
e76f14
diff --git a/p2v/gui.c b/p2v/gui.c
e76f14
index 5ffe3d8..9e9043a 100644
e76f14
--- a/p2v/gui.c
e76f14
+++ b/p2v/gui.c
e76f14
@@ -884,7 +884,7 @@ populate_disks (GtkTreeView *disks_list)
e76f14
                     "<small>"
e76f14
                     "%s %s\n"
e76f14
                     "%s%s"
e76f14
-                    "</small>\n",
e76f14
+                    "</small>",
e76f14
                     all_disks[i],
e76f14
                     size_gb ? size_gb : "", model ? model : "",
e76f14
                     serial ? "s/n " : "", serial ? serial : "") == -1)
e76f14
-- 
e76f14
1.8.3.1
e76f14