summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_DiskDriveRealizesProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_DiskDriveRealizesProvider.c')
-rw-r--r--src/hardware/LMI_DiskDriveRealizesProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_DiskDriveRealizesProvider.c b/src/hardware/LMI_DiskDriveRealizesProvider.c
index 0c40fdb..2756dec 100644
--- a/src/hardware/LMI_DiskDriveRealizesProvider.c
+++ b/src/hardware/LMI_DiskDriveRealizesProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_DiskDriveRealizes.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "lsblk.h"
static const CMPIBroker* _cb;
@@ -81,12 +80,12 @@ static CMPIStatus LMI_DiskDriveRealizesEnumInstances(
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);
LMI_DiskPhysicalPackageRef_Init(&lmi_hdd_phys, _cb, ns);
LMI_DiskPhysicalPackageRef_Set_CreationClassName(&lmi_hdd_phys,
- ORGID "_" DISK_PHYS_PKG_CLASS_NAME);
+ LMI_ORGID "_" DISK_PHYS_PKG_CLASS_NAME);
LMI_DiskPhysicalPackageRef_Set_Tag(&lmi_hdd_phys, lsblk_hdds[i].name);
LMI_DiskDriveRealizes_Set_Dependent(&lmi_hdd_realizes, &lmi_hdd);