# HG changeset patch
# User Jay Gagnon <grendel(a)linux.vnet.ibm.com>
# Date 1195507146 18000
# Node ID 79f43a4ffc38d7227e17432b971639ae20f6f6ed
# Parent e3b63f17f18169dbd41ef979a86e56b46d8a9ae9
Fix cu_return_foo calls to match new signature.
Signed-off-by: Jay Gagnon <grendel(a)linux.vnet.ibm.com>
diff -r e3b63f17f181 -r 79f43a4ffc38 src/Virt_ComputerSystem.c
--- a/src/Virt_ComputerSystem.c Mon Nov 19 11:15:49 2007 -0800
+++ b/src/Virt_ComputerSystem.c Mon Nov 19 16:19:06 2007 -0500
@@ -356,9 +356,9 @@ static CMPIStatus return_enum_domains(co
}
if (names_only)
- cu_return_instance_names(results, list.list);
+ cu_return_instance_names(results, &list);
else
- cu_return_instances(results, list.list);
+ cu_return_instances(results, &list);
CMSetStatus(&s, CMPI_RC_OK);
diff -r e3b63f17f181 -r 79f43a4ffc38 src/Virt_Device.c
--- a/src/Virt_Device.c Mon Nov 19 11:15:49 2007 -0800
+++ b/src/Virt_Device.c Mon Nov 19 16:19:06 2007 -0500
@@ -366,9 +366,9 @@ static CMPIStatus enum_devices(const CMP
goto out;
if (names_only)
- cu_return_instance_names(results, list.list);
+ cu_return_instance_names(results, &list);
else
- cu_return_instances(results, list.list);
+ cu_return_instances(results, &list);
inst_list_free(&list);
diff -r e3b63f17f181 -r 79f43a4ffc38 src/Virt_DevicePool.c
--- a/src/Virt_DevicePool.c Mon Nov 19 11:15:49 2007 -0800
+++ b/src/Virt_DevicePool.c Mon Nov 19 16:19:06 2007 -0500
@@ -602,9 +602,9 @@ static void __return_pool(const CMPIResu
bool name_only)
{
if (name_only)
- cu_return_instance_names(results, list->list);
+ cu_return_instance_names(results, list);
else
- cu_return_instances(results, list->list);
+ cu_return_instances(results, list);
}
static CMPIStatus return_pool(const CMPIObjectPath *ref,