
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1195499513 28800 # Node ID b717a04e455cd5de99c549482339eb4e56c062d8 # Parent aee029ef5abcbfff7fd730698c145f742de4e218 Fix uses of get_typed_*() in ElementCapabilities Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r aee029ef5abc -r b717a04e455c src/Virt_ElementCapabilities.c --- a/src/Virt_ElementCapabilities.c Mon Nov 19 11:11:04 2007 -0800 +++ b/src/Virt_ElementCapabilities.c Mon Nov 19 11:11:53 2007 -0800 @@ -208,7 +208,9 @@ static CMPIStatus pool_to_alloc(const CM goto out; } - inst = get_typed_instance(_BROKER, "AllocationCapabilities", + inst = get_typed_instance(_BROKER, + CLASSNAME(ref), + "AllocationCapabilities", NAMESPACE(ref)); CMSetProperty(inst, "InstanceID", inst_id, CMPI_chars); @@ -240,6 +242,7 @@ static CMPIInstance *make_ref(const CMPI return NULL; refinst = get_typed_instance(_BROKER, + CLASSNAME(ref), base, NAMESPACE(ref));