mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From ec9c4fa9e396b110bca94845d2d752081b6c5e4c Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 28 Jun 2016 13:38:34 +0100
Subject: [PATCH] p2v: Remove trailing \n from fixed disks device box.

Fixes commit 6aba5a49448d8ed9776164005080620d37bb97e0.

(cherry picked from commit 13307325e8a4bf12016897224d069309deb34135)
---
 p2v/gui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/p2v/gui.c b/p2v/gui.c
index 5ffe3d8..9e9043a 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -884,7 +884,7 @@ populate_disks (GtkTreeView *disks_list)
                     "<small>"
                     "%s %s\n"
                     "%s%s"
-                    "</small>\n",
+                    "</small>",
                     all_disks[i],
                     size_gb ? size_gb : "", model ? model : "",
                     serial ? "s/n " : "", serial ? serial : "") == -1)
-- 
1.8.3.1