[libvirt] [PATCH 09/10] virobject: Remove the bogus ! from call to virObjectInitialize()
Peter Krempa
pkrempa at redhat.com
Thu Jan 17 19:49:50 UTC 2013
On 01/17/13 20:17, John Ferlan wrote:
> ---
> 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)
Funny bug :) either of those works, but not together.
ACK
Peter
More information about the libvir-list
mailing list