[libvirt] [PATCH] Fix build with polkit 0

Jim Fehlig jfehlig at novell.com
Tue Nov 2 16:13:40 UTC 2010



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
>   




More information about the libvir-list mailing list