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

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



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 redhat com>
> ---
>  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 redhat com>

Attachment: signature.asc
Description: Digital signature


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