[libvirt] [PATCH] virsh: remove reference to migration in blockcopy

Ján Tomko jtomko at redhat.com
Thu Oct 11 15:14:39 UTC 2012


---
 tools/virsh-domain.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 01550c7..1a9097f 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -1468,13 +1468,13 @@ cmdBlockCopy(vshControl *ctl, const vshCmd *cmd)
         }
         if (vshCommandOptInt(cmd, "timeout", &timeout) > 0) {
             if (timeout < 1) {
-                vshError(ctl, "%s", _("migrate: Invalid timeout"));
+                vshError(ctl, "%s", _("invalid timeout"));
                 return false;
             }
 
             /* Ensure that we can multiply by 1000 without overflowing. */
             if (timeout > INT_MAX / 1000) {
-                vshError(ctl, "%s", _("migrate: Timeout is too big"));
+                vshError(ctl, "%s", _("timeout is too big"));
                 return false;
             }
             timeout *= 1000;
-- 
1.7.8.6




More information about the libvir-list mailing list