
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1195493301 28800 # Node ID c5a2fc3f7a6c13f19c06c528026d1dca2becba00 # Parent 00deec21b241f4f29207138456f3623b7867d04f Make ResourceAllocationFromPool use connect_by_classname() Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 00deec21b241 -r c5a2fc3f7a6c src/Virt_ResourceAllocationFromPool.c --- a/src/Virt_ResourceAllocationFromPool.c Mon Nov 19 09:27:04 2007 -0800 +++ b/src/Virt_ResourceAllocationFromPool.c Mon Nov 19 09:28:21 2007 -0800 @@ -74,7 +74,7 @@ static CMPIStatus rasd_to_pool(const CMP goto out; } - conn = lv_connect(_BROKER, &s); + conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s); if (conn == NULL) goto out; @@ -144,7 +144,7 @@ static int rasds_from_pool(uint16_t type int count; int i; - conn = lv_connect(_BROKER, &s); + conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s); if (conn == NULL) return 0;