summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_PhysicalMemoryRealizesProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_PhysicalMemoryRealizesProvider.c')
-rw-r--r--src/hardware/LMI_PhysicalMemoryRealizesProvider.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware/LMI_PhysicalMemoryRealizesProvider.c b/src/hardware/LMI_PhysicalMemoryRealizesProvider.c
index 4f44db7..77f4d85 100644
--- a/src/hardware/LMI_PhysicalMemoryRealizesProvider.c
+++ b/src/hardware/LMI_PhysicalMemoryRealizesProvider.c
@@ -20,7 +20,7 @@
#include <konkret/konkret.h>
#include "LMI_PhysicalMemoryRealizes.h"
-#include "LMI_Hardware.h"
+#include "utils.h"
#include "dmidecode.h"
static const CMPIBroker* _cb;
@@ -70,7 +70,7 @@ static CMPIStatus LMI_PhysicalMemoryRealizesEnumInstances(
LMI_MemoryRef_Set_SystemCreationClassName(&lmi_mem,
lmi_get_system_creation_class_name());
LMI_MemoryRef_Set_SystemName(&lmi_mem, lmi_get_system_name());
- LMI_MemoryRef_Set_CreationClassName(&lmi_mem, LMI_ORGID "_" MEM_CLASS_NAME);
+ LMI_MemoryRef_Set_CreationClassName(&lmi_mem, LMI_Memory_ClassName);
LMI_MemoryRef_Set_DeviceID(&lmi_mem, "0");
for (i = 0; i < dmi_memory.modules_nb; i++) {
@@ -78,7 +78,7 @@ static CMPIStatus LMI_PhysicalMemoryRealizesEnumInstances(
LMI_PhysicalMemoryRef_Init(&lmi_phys_mem, _cb, ns);
LMI_PhysicalMemoryRef_Set_CreationClassName(&lmi_phys_mem,
- LMI_ORGID "_" PHYS_MEM_CLASS_NAME);
+ LMI_PhysicalMemory_ClassName);
LMI_PhysicalMemoryRef_Set_Tag(&lmi_phys_mem,
dmi_memory.modules[i].serial_number);