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(a)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(a)redhat.com>