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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware/LMI_DiskDriveRealizesProvider.c b/src/hardware/LMI_DiskDriveRealizesProvider.c
index 5d184e9..af15405 100644
--- a/src/hardware/LMI_DiskDriveRealizesProvider.c
+++ b/src/hardware/LMI_DiskDriveRealizesProvider.c
@@ -20,7 +20,7 @@
#include <konkret/konkret.h>
#include "LMI_DiskDriveRealizes.h"
-#include "LMI_Hardware.h"
+#include "utils.h"
#include "lsblk.h"
static const CMPIBroker* _cb;
@@ -80,12 +80,12 @@ static CMPIStatus LMI_DiskDriveRealizesEnumInstances(
lmi_get_system_creation_class_name());
LMI_DiskDriveRef_Set_SystemName(&lmi_hdd, lmi_get_system_name());
LMI_DiskDriveRef_Set_CreationClassName(&lmi_hdd,
- LMI_ORGID "_" DISK_DRIVE_CLASS_NAME);
+ LMI_DiskDrive_ClassName);
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,
- LMI_ORGID "_" DISK_PHYS_PKG_CLASS_NAME);
+ LMI_DiskPhysicalPackage_ClassName);
LMI_DiskPhysicalPackageRef_Set_Tag(&lmi_hdd_phys, lsblk_hdds[i].name);
LMI_DiskDriveRealizes_Set_Dependent(&lmi_hdd_realizes, &lmi_hdd);