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

[libvirt] [PATCH] Fix virsh.c compilation warning



A call to vshError() containing 'doexit' parameter sneaked in after I
removed said parameter.

Regards,
Jim

commit edea3dfdd861d5eee4712da43781908f0fa2a6d5
Author: Jim Fehlig <jfehlig novell com>
Date:   Mon Oct 19 13:53:40 2009 -0600

    Remove extra arg in call to vshError()

diff --git a/tools/virsh.c b/tools/virsh.c
index 47122d5..6b93405 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -2518,7 +2518,7 @@ cmdMigrate (vshControl *ctl, const vshCmd *cmd)
          * a libvirt URI, or a hypervisor specific URI. */
 
         if (migrateuri != NULL) {
-            vshError(ctl, FALSE, "%s", _("migrate: Unexpected migrateuri for peer2peer/direct migration"));
+            vshError(ctl, "%s", _("migrate: Unexpected migrateuri for peer2peer/direct migration"));
             goto done;
         }
 

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