diff options
Diffstat (limited to 'src/hardware/LMI_MemorySlotContainerProvider.c')
-rw-r--r-- | src/hardware/LMI_MemorySlotContainerProvider.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware/LMI_MemorySlotContainerProvider.c b/src/hardware/LMI_MemorySlotContainerProvider.c index 8852954..e23982a 100644 --- a/src/hardware/LMI_MemorySlotContainerProvider.c +++ b/src/hardware/LMI_MemorySlotContainerProvider.c @@ -20,7 +20,7 @@ #include <konkret/konkret.h> #include "LMI_MemorySlotContainer.h" -#include "LMI_Hardware.h" +#include "utils.h" #include "dmidecode.h" static const CMPIBroker* _cb; @@ -73,7 +73,7 @@ static CMPIStatus LMI_MemorySlotContainerEnumInstances( LMI_ChassisRef_Init(&lmi_chassis, _cb, ns); LMI_ChassisRef_Set_CreationClassName(&lmi_chassis, - LMI_ORGID "_" CHASSIS_CLASS_NAME); + LMI_Chassis_ClassName); if (strcmp(dmi_chassis.serial_number, "Not Specified") == 0) { LMI_ChassisRef_Set_Tag(&lmi_chassis, "0"); } else { @@ -87,7 +87,7 @@ static CMPIStatus LMI_MemorySlotContainerEnumInstances( LMI_MemorySlotRef_Init(&lmi_mem_slot, _cb, ns); LMI_MemorySlotRef_Set_CreationClassName(&lmi_mem_slot, - LMI_ORGID "_" MEMORY_SLOT_CLASS_NAME); + LMI_MemorySlot_ClassName); LMI_MemorySlotRef_Set_Tag(&lmi_mem_slot, tag); LMI_MemorySlotContainer_Set_GroupComponent(&lmi_mem_slot_container, |