[libvirt] [PATCH 06/19] storage: Fix return value checks for virAsprintf
Pavel Hrdina
phrdina at redhat.com
Tue Jul 11 11:51:00 UTC 2017
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 at 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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170711/8dbb598d/attachment-0001.sig>
More information about the libvir-list
mailing list