[Libvirt-cim] [PATCH 11 of 27] Fix uses of get_typed_*() in AllocationCapabilities

Dan Smith danms at us.ibm.com
Mon Nov 19 18:26:03 UTC 2007


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1195498882 28800
# Node ID 1b453297885197a4b629dca9d03ec7377e5cfc09
# Parent  463508334518aaa57a72e5f0b5adc691da009301
Fix uses of get_typed_*() in AllocationCapabilities

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

diff -r 463508334518 -r 1b4532978851 src/Virt_AllocationCapabilities.c
--- a/src/Virt_AllocationCapabilities.c	Mon Nov 19 11:00:43 2007 -0800
+++ b/src/Virt_AllocationCapabilities.c	Mon Nov 19 11:01:22 2007 -0800
@@ -44,7 +44,9 @@ CMPIStatus get_alloc_cap(const CMPIBroke
         uint16_t type;
         int ret;
 
-        *inst = get_typed_instance(broker, "AllocationCapabilities", 
+        *inst = get_typed_instance(broker,
+                                   CLASSNAME(ref),
+                                   "AllocationCapabilities",
                                    NAMESPACE(ref));
 
         if (rasd_type_from_classname(CLASSNAME(ref), &type) != CMPI_RC_OK) {




More information about the Libvirt-cim mailing list