[PATCH 11/13] virsh: Drop extra newlines at the end of error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 tools/virsh-domain.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 2db88a1a7d..c8c341b3d1 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -2648,7 +2648,7 @@ virshBlockJobInfo(vshControl *ctl,
         if (!raw) {
             speed <<= 20;
             if (speed >> 20 != info.bandwidth) {
-                vshError(ctl, _("overflow in converting %1$ld MiB/s to bytes\n"),
+                vshError(ctl, _("overflow in converting %1$ld MiB/s to bytes"),
                          info.bandwidth);
                 return false;
             }
@@ -3831,7 +3831,7 @@ cmdUndefine(vshControl *ctl, const vshCmd *cmd)
 
             if (!vol.vol) {
                 vshError(ctl,
-                         _("Storage volume '%1$s'(%2$s) is not managed by libvirt. Remove it manually.\n"),
+                         _("Storage volume '%1$s'(%2$s) is not managed by libvirt. Remove it manually."),
                          target, source);
                 vshResetLibvirtError();
                 continue;
@@ -3848,7 +3848,7 @@ cmdUndefine(vshControl *ctl, const vshCmd *cmd)
             for (i = 0; i < nvol_list; i++) {
                 if (vol_list[i]) {
                     vshError(ctl,
-                             _("Volume '%1$s' was not found in domain's definition.\n"),
+                             _("Volume '%1$s' was not found in domain's definition."),
                              vol_list[i]);
                     found = true;
                 }
-- 
2.48.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux