summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_MemorySlotProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_MemorySlotProvider.c')
-rw-r--r--src/hardware/LMI_MemorySlotProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_MemorySlotProvider.c b/src/hardware/LMI_MemorySlotProvider.c
index d3c4a82..2c8116f 100644
--- a/src/hardware/LMI_MemorySlotProvider.c
+++ b/src/hardware/LMI_MemorySlotProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_MemorySlot.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "dmidecode.h"
static const CMPIBroker* _cb = NULL;
@@ -71,7 +70,7 @@ static CMPIStatus LMI_MemorySlotEnumInstances(
snprintf(tag, LONG_INT_LEN, "%d", dmi_memory.slots[i].slot_number);
snprintf(instance_id, INSTANCE_ID_LEN,
- ORGID ":" ORGID "_" MEMORY_SLOT_CLASS_NAME ":%d",
+ LMI_ORGID ":" LMI_ORGID "_" MEMORY_SLOT_CLASS_NAME ":%d",
dmi_memory.slots[i].slot_number);
LMI_MemorySlot_Set_ConnectorLayout(&lmi_mem_slot,
@@ -83,7 +82,7 @@ static CMPIStatus LMI_MemorySlotEnumInstances(
LMI_MemorySlot_ConnectorGender_Female);
LMI_MemorySlot_Set_CreationClassName(&lmi_mem_slot,
- ORGID "_" MEMORY_SLOT_CLASS_NAME);
+ LMI_ORGID "_" MEMORY_SLOT_CLASS_NAME);
LMI_MemorySlot_Set_Tag(&lmi_mem_slot, tag);
LMI_MemorySlot_Set_Number(&lmi_mem_slot,
dmi_memory.slots[i].slot_number);