[Libvirt-cim] [PATCH 17 of 27] Fix uses of get_typed_*() in SettingsDefineCapabilities

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


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1195499432 28800
# Node ID 3b7ec9c6323372f82fcad5be76faec50de401b6e
# Parent  0912b735d6a65db09f6f9e671bc7cccd5122532c
Fix uses of get_typed_*() in SettingsDefineCapabilities

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

diff -r 0912b735d6a6 -r 3b7ec9c63233 src/Virt_SettingsDefineCapabilities.c
--- a/src/Virt_SettingsDefineCapabilities.c	Mon Nov 19 11:09:36 2007 -0800
+++ b/src/Virt_SettingsDefineCapabilities.c	Mon Nov 19 11:10:32 2007 -0800
@@ -706,6 +706,7 @@ static CMPIInstance *sdc_rasd_inst(const
                 goto out;
 
         inst = get_typed_instance(broker,
+                                  CLASSNAME(ref),
                                   "ResourceAllocationSettingData",
                                   NAMESPACE(ref));
         
@@ -820,6 +821,7 @@ static CMPIInstance *make_ref(const CMPI
                 return NULL;
 
         refinst = get_typed_instance(_BROKER,
+                                     CLASSNAME(ref),
                                      base,
                                      NAMESPACE(ref));
 




More information about the Libvirt-cim mailing list