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

Daniel Veillard veillard at redhat.com
Wed Oct 21 11:01:06 UTC 2009


On Mon, Oct 19, 2009 at 02:03:21PM -0600, Jim Fehlig wrote:
> A call to vshError() containing 'doexit' parameter sneaked in after I
> removed said parameter.
> 
> Regards,
> Jim
> 

> commit edea3dfdd861d5eee4712da43781908f0fa2a6d5
> Author: Jim Fehlig <jfehlig at 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;
>          }
>  


  Okidoc, pushed !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list