# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1424173566 28800
# Node ID e1cc2a3bbeffbb0b6ec390c68a0b0cb3d39a6f22
# Parent a292dd2d0e1fc7e0e5d7d85afe67aae5fa7fa6ed
Fix incorrect use of InstanceID instead of DeviceID in SDS
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r a292dd2d0e1f -r e1cc2a3bbeff src/Virt_SettingsDefineState.c
--- a/src/Virt_SettingsDefineState.c Tue Feb 17 03:44:43 2015 -0800
+++ b/src/Virt_SettingsDefineState.c Tue Feb 17 03:46:06 2015 -0800
@@ -80,11 +80,11 @@ static CMPIStatus dev_to_rasd(const CMPI
inst_list_init(&rasds);
- id = cu_get_str_path(ref, "InstanceID");
+ id = cu_get_str_path(ref, "DeviceID");
if (id == NULL) {
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_FAILED,
- "Missing InstanceID");
+ "Missing DeviceID");
goto out;
}
@@ -92,7 +92,7 @@ static CMPIStatus dev_to_rasd(const CMPI
if (!ret) {
cu_statusf(_BROKER, &s,
CMPI_RC_ERR_FAILED,
- "Invalid InstanceID");
+ "Invalid DeviceID");
goto out;
}
Show replies by date
works for me ... +1 :)
good catch :)
--
Regards
Heidi Eckhart
Software Engineer
Linux Technology Center - Open Hypervisor
heidieck(a)linux.vnet.ibm.com
**************************************************
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Herbert Kircher
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294