[libvirt] [PATCH] Fix build with polkit 0

Daniel P. Berrange berrange at redhat.com
Tue Nov 2 10:43:45 UTC 2010


On Mon, Nov 01, 2010 at 05:56:59PM -0600, Jim Fehlig wrote:
> Commit e8066d53 broke the build with polkit0:
> 
> remote.c: In function 'remoteDispatchAuthPolkit':
> remote.c:4177: error: 'rv' undeclared (first use in this function)
> 
> Add missing identifier.
> ---
>  daemon/remote.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/daemon/remote.c b/daemon/remote.c
> index 886d53d..3cf3886 100644
> --- a/daemon/remote.c
> +++ b/daemon/remote.c
> @@ -4152,6 +4152,7 @@ remoteDispatchAuthPolkit (struct qemud_server *server,
>      DBusError err;
>      const char *action;
>      char ident[100];
> +    int rv;
>  
>      memset(ident, 0, sizeof ident);
>  

ACK

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list