summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_DiskPhysicalPackageProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_DiskPhysicalPackageProvider.c')
-rw-r--r--src/hardware/LMI_DiskPhysicalPackageProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_DiskPhysicalPackageProvider.c b/src/hardware/LMI_DiskPhysicalPackageProvider.c
index 001205b..f619e0b 100644
--- a/src/hardware/LMI_DiskPhysicalPackageProvider.c
+++ b/src/hardware/LMI_DiskPhysicalPackageProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_DiskPhysicalPackage.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "smartctl.h"
#include "lsblk.h"
@@ -101,7 +100,7 @@ static CMPIStatus LMI_DiskPhysicalPackageEnumInstances(
LMI_DiskPhysicalPackage_Init(&lmi_hdd, _cb, ns);
LMI_DiskPhysicalPackage_Set_CreationClassName(&lmi_hdd,
- ORGID "_" DISK_PHYS_PKG_CLASS_NAME);
+ LMI_ORGID "_" DISK_PHYS_PKG_CLASS_NAME);
LMI_DiskPhysicalPackage_Set_PackageType(&lmi_hdd,
LMI_DiskPhysicalPackage_PackageType_Storage_Media_Package_e_g___Disk_or_Tape_Drive);
LMI_DiskPhysicalPackage_Set_Caption(&lmi_hdd, "Physical Disk Package");
@@ -109,7 +108,7 @@ static CMPIStatus LMI_DiskPhysicalPackageEnumInstances(
"This object represents one physical disk package in system.");
snprintf(instance_id, INSTANCE_ID_LEN,
- ORGID ":" ORGID "_" DISK_PHYS_PKG_CLASS_NAME ":%s",
+ LMI_ORGID ":" LMI_ORGID "_" DISK_PHYS_PKG_CLASS_NAME ":%s",
lsblk_hdds[i].name);
LMI_DiskPhysicalPackage_Set_Tag(&lmi_hdd, lsblk_hdds[i].name);