[PATCH] Fix silly compile warning (and actually initialize the library as intended)

# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1208464649 25200 # Node ID 1904e4f08af21f99af698e42da236cf39407c5e2 # Parent 2806f8744946757036f9639d8c8fe9a95f689233 Fix silly compile warning (and actually initialize the library as intended) Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 2806f8744946 -r 1904e4f08af2 libxkutil/misc_util.c --- a/libxkutil/misc_util.c Wed Apr 16 17:50:49 2008 -0700 +++ b/libxkutil/misc_util.c Thu Apr 17 13:37:29 2008 -0700 @@ -452,7 +452,7 @@ bool parse_instanceid(const CMPIObjectPa bool libvirt_cim_init(void) { - return virInitialize == 0; + return virInitialize() == 0; } bool check_refs_pfx_match(const CMPIObjectPath *refa,

Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1208464649 25200 # Node ID 1904e4f08af21f99af698e42da236cf39407c5e2 # Parent 2806f8744946757036f9639d8c8fe9a95f689233 Fix silly compile warning (and actually initialize the library as intended)
Signed-off-by: Dan Smith <danms@us.ibm.com>
I saw this problem too. +1 -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com
participants (2)
-
Dan Smith
-
Kaitlin Rupert