summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c')
-rw-r--r--src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c b/src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c
index 04d4384..21614b8 100644
--- a/src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c
+++ b/src/hardware/LMI_MemoryPhysicalPackageInConnectorProvider.c
@@ -20,7 +20,7 @@
#include <konkret/konkret.h>
#include "LMI_MemoryPhysicalPackageInConnector.h"
-#include "LMI_Hardware.h"
+#include "utils.h"
#include "dmidecode.h"
static const CMPIBroker* _cb;
@@ -74,7 +74,7 @@ static CMPIStatus LMI_MemoryPhysicalPackageInConnectorEnumInstances(
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);
@@ -84,7 +84,7 @@ static CMPIStatus LMI_MemoryPhysicalPackageInConnectorEnumInstances(
dmi_memory.slots[j].slot_number);
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_MemoryPhysicalPackageInConnector_Set_Antecedent(