--- src/util/virobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/virobject.c b/src/util/virobject.c index 838b5cd..7f08a11 100644 --- a/src/util/virobject.c +++ b/src/util/virobject.c @@ -74,7 +74,7 @@ VIR_ONCE_GLOBAL_INIT(virObject); */ virClassPtr virClassForObject(void) { - if (!virObjectInitialize() < 0) + if (virObjectInitialize() < 0) return NULL; return virObjectClass; @@ -88,7 +88,7 @@ virClassPtr virClassForObject(void) */ virClassPtr virClassForObjectLockable(void) { - if (!virObjectInitialize() < 0) + if (virObjectInitialize() < 0) return NULL; return virObjectLockableClass; -- 1.7.11.7 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list