# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1195492278 28800
# Node ID 0257746b9ab4cdda63bd9a793b87d240dc6ca17d
# Parent 63881b803abfa7a291082191fb245f26731c7d7c
Make ElementCapabilities use connect_by_classname()
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 63881b803abf -r 0257746b9ab4 src/Virt_ElementCapabilities.c
--- a/src/Virt_ElementCapabilities.c Mon Nov 19 09:10:20 2007 -0800
+++ b/src/Virt_ElementCapabilities.c Mon Nov 19 09:11:18 2007 -0800
@@ -167,7 +167,7 @@ static CMPIStatus cap_to_cs(const CMPIOb
goto error1;
}
- conn = lv_connect(_BROKER, &s);
+ conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s);
if (s.rc != CMPI_RC_OK)
goto error1;