Re: [libvirt] [PATCH] Fix build with polkit 0

2010-11-02 Thread Jim Fehlig


Daniel P. Berrange wrote:
> 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
>   

Pushed.

> Daniel
>   

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] [PATCH] Fix build with polkit 0

2010-11-02 Thread Daniel P. Berrange
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 :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [PATCH] Fix build with polkit 0

2010-11-01 Thread Jim Fehlig
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);
 
-- 
1.6.0.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list