Re: [PATCH 06/19] storage: Fix return value checks for virAsprintf

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

 



On Tue, May 09, 2017 at 11:30:13AM -0400, John Ferlan wrote:
> Use the < 0 rather than == -1 (consistently) for virAsprintf errors.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/storage/storage_backend_logical.c  | 2 +-
>  src/storage/storage_backend_rbd.c      | 8 ++++----
>  src/storage/storage_backend_sheepdog.c | 4 ++--
>  src/storage/storage_backend_zfs.c      | 4 ++--
>  src/storage/storage_util.c             | 6 +++---
>  src/test/test_driver.c                 | 9 +++------
>  6 files changed, 15 insertions(+), 18 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature

--
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]
  Powered by Linux