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

Re: [libvirt] [PATCH] virsh-domain: Flip logic in cmdSetvcpus



On 08/13/2013 11:22 AM, Peter Krempa wrote:
> To avoid having to assign a failure code to the returned variable switch
> this function to negative logic. This will fix issue with invalid number
> of cpus returning success return code.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=996466
> ---
>  tools/virsh-domain.c | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)
> 

ACK, nice reduction.

Jan


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