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

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

 



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

Regards,
Jim

commit edea3dfdd861d5eee4712da43781908f0fa2a6d5
Author: Jim Fehlig <jfehlig@xxxxxxxxxx>
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;
         }
 
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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]