Re: [PATCH 3/5] phyp: Don't try to use a string from a failed virAsprintf

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

 



2011/4/11 Daniel Veillard <veillard@xxxxxxxxxx>:
> On Sat, Apr 09, 2011 at 11:59:09AM +0200, Matthias Bolte wrote:
>> ---
>> Âsrc/phyp/phyp_driver.c | Â Â2 +-
>> Â1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
>> index f441261..24165fb 100644
>> --- a/src/phyp/phyp_driver.c
>> +++ b/src/phyp/phyp_driver.c
>> @@ -210,7 +210,7 @@ phypGetSystemType(virConnectPtr conn)
>>
>> Â Â Âif (virAsprintf(&cmd, "lshmc -V") < 0) {
>> Â Â Â Â ÂvirReportOOMError();
>> - Â Â Â Âexit_status = -1;
>> + Â Â Â Âreturn -1;
>> Â Â Â}
>> Â Â Âret = phypExec(session, cmd, &exit_status, conn);
>>
>
> ÂACK,
>
> Daniel
>

Thanks, pushed.

Matthias

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