diff options
Diffstat (limited to 'src/hardware/LMI_SystemSlotProvider.c')
-rw-r--r-- | src/hardware/LMI_SystemSlotProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_SystemSlotProvider.c b/src/hardware/LMI_SystemSlotProvider.c index 0cb73cb..730c242 100644 --- a/src/hardware/LMI_SystemSlotProvider.c +++ b/src/hardware/LMI_SystemSlotProvider.c @@ -21,7 +21,6 @@ #include <konkret/konkret.h> #include "LMI_SystemSlot.h" #include "LMI_Hardware.h" -#include "globals.h" #include "dmidecode.h" CMPIUint16 get_connectorlayout_slot(const char *dmi_val); @@ -75,7 +74,7 @@ static CMPIStatus LMI_SystemSlotEnumInstances( LMI_SystemSlot_Init(&lmi_slot, _cb, ns); LMI_SystemSlot_Set_CreationClassName(&lmi_slot, - ORGID "_" SYSTEM_SLOT_CLASS_NAME); + LMI_ORGID "_" SYSTEM_SLOT_CLASS_NAME); LMI_SystemSlot_Set_Caption(&lmi_slot, "System Slot"); LMI_SystemSlot_Set_Description(&lmi_slot, "This object represents one system slot."); @@ -83,7 +82,7 @@ static CMPIStatus LMI_SystemSlotEnumInstances( LMI_SystemSlot_ConnectorGender_Female); snprintf(instance_id, INSTANCE_ID_LEN, - ORGID ":" ORGID "_" SYSTEM_SLOT_CLASS_NAME ":%s", + LMI_ORGID ":" LMI_ORGID "_" SYSTEM_SLOT_CLASS_NAME ":%s", dmi_slots[i].name); conn_layout = get_connectorlayout_slot(dmi_slots[i].type); maxlinkwidth = get_maxlinkwidth(dmi_slots[i].link_width); |