[Libvirt-cim] [PATCH 07 of 27] Fix uses of get_typed_*() in HostSystem

Dan Smith danms at us.ibm.com
Mon Nov 19 18:25:59 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1195498359 28800
# Node ID 4304ba0c1cedd5401ae3fb24e4edc1a2291f770f
# Parent  5de7d5dad0a016a8bcd1ae6ad443726d880ecda3
Fix uses of get_typed_*() in HostSystem

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r 5de7d5dad0a0 -r 4304ba0c1ced src/Virt_HostSystem.c
--- a/src/Virt_HostSystem.c	Mon Nov 19 10:46:48 2007 -0800
+++ b/src/Virt_HostSystem.c	Mon Nov 19 10:52:39 2007 -0800
@@ -65,7 +65,7 @@ CMPIStatus get_host_cs(const CMPIBroker 
 
         ns = NAMESPACE(reference);
 
-        classname = get_typed_class("HostSystem");
+        classname = get_typed_class(CLASSNAME(reference), "HostSystem");
         if (classname == NULL) {
                 CMSetStatusWithChars(broker, &s,
                                      CMPI_RC_ERR_FAILED,




More information about the Libvirt-cim mailing list