diff options
Diffstat (limited to 'src/hardware/LMI_DiskDriveElementSoftwareIdentityProvider.c')
-rw-r--r-- | src/hardware/LMI_DiskDriveElementSoftwareIdentityProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_DiskDriveElementSoftwareIdentityProvider.c b/src/hardware/LMI_DiskDriveElementSoftwareIdentityProvider.c index ba79371..e07e2ed 100644 --- a/src/hardware/LMI_DiskDriveElementSoftwareIdentityProvider.c +++ b/src/hardware/LMI_DiskDriveElementSoftwareIdentityProvider.c @@ -21,7 +21,6 @@ #include <konkret/konkret.h> #include "LMI_DiskDriveElementSoftwareIdentity.h" #include "LMI_Hardware.h" -#include "globals.h" #include "lsblk.h" static const CMPIBroker* _cb; @@ -82,11 +81,11 @@ static CMPIStatus LMI_DiskDriveElementSoftwareIdentityEnumInstances( 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(instance_id, INSTANCE_ID_LEN, - ORGID ":" ORGID "_" DISK_DRIVE_SW_IDENTITY_CLASS_NAME ":%s", + LMI_ORGID ":" LMI_ORGID "_" DISK_DRIVE_SW_IDENTITY_CLASS_NAME ":%s", lsblk_hdds[i].name); LMI_DiskDriveSoftwareIdentityRef_Init(&lmi_hdd_swi, _cb, ns); |