summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_PhysicalMemoryContainerProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_PhysicalMemoryContainerProvider.c')
-rw-r--r--src/hardware/LMI_PhysicalMemoryContainerProvider.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware/LMI_PhysicalMemoryContainerProvider.c b/src/hardware/LMI_PhysicalMemoryContainerProvider.c
index bff9955..bc0f3ff 100644
--- a/src/hardware/LMI_PhysicalMemoryContainerProvider.c
+++ b/src/hardware/LMI_PhysicalMemoryContainerProvider.c
@@ -20,7 +20,7 @@
#include <konkret/konkret.h>
#include "LMI_PhysicalMemoryContainer.h"
-#include "LMI_Hardware.h"
+#include "utils.h"
#include "dmidecode.h"
static const CMPIBroker* _cb;
@@ -71,13 +71,13 @@ static CMPIStatus LMI_PhysicalMemoryContainerEnumInstances(
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);
LMI_MemoryPhysicalPackageRef_Init(&lmi_phys_mem_pkg, _cb, ns);
LMI_MemoryPhysicalPackageRef_Set_CreationClassName(&lmi_phys_mem_pkg,
- LMI_ORGID "_" MEMORY_PHYS_PKG_CLASS_NAME);
+ LMI_MemoryPhysicalPackage_ClassName);
LMI_MemoryPhysicalPackageRef_Set_Tag(&lmi_phys_mem_pkg,
dmi_memory.modules[i].serial_number);