summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c')
-rw-r--r--src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c b/src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c
index ee964b1..51b5f44 100644
--- a/src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c
+++ b/src/hardware/LMI_DiskDriveSAPAvailableForElementProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_DiskDriveSAPAvailableForElement.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "lsblk.h"
static const CMPIBroker* _cb;
@@ -82,7 +81,7 @@ static CMPIStatus LMI_DiskDriveSAPAvailableForElementEnumInstances(
get_system_creation_class_name());
LMI_DiskDriveRef_Set_SystemName(&lmi_hdd, get_system_name());
LMI_DiskDriveRef_Set_CreationClassName(&lmi_hdd,
- ORGID "_" DISK_DRIVE_CLASS_NAME);
+ LMI_ORGID "_" DISK_DRIVE_CLASS_NAME);
LMI_DiskDriveRef_Set_DeviceID(&lmi_hdd, lsblk_hdds[i].name);
snprintf(name, ELEMENT_NAME_LEN,
@@ -95,7 +94,7 @@ static CMPIStatus LMI_DiskDriveSAPAvailableForElementEnumInstances(
LMI_DiskDriveATAProtocolEndpointRef_Set_SystemName(&lmi_hdd_ata_endp,
get_system_name());
LMI_DiskDriveATAProtocolEndpointRef_Set_CreationClassName(&lmi_hdd_ata_endp,
- ORGID "_" DISK_DRIVE_ATA_PROTO_ENDPOINT_CLASS_NAME);
+ LMI_ORGID "_" DISK_DRIVE_ATA_PROTO_ENDPOINT_CLASS_NAME);
LMI_DiskDriveATAProtocolEndpointRef_Set_Name(&lmi_hdd_ata_endp, name);
LMI_DiskDriveSAPAvailableForElement_Set_ManagedElement(&lmi_hdd_sap,