summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_DiskDriveATAPortProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_DiskDriveATAPortProvider.c')
-rw-r--r--src/hardware/LMI_DiskDriveATAPortProvider.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_DiskDriveATAPortProvider.c b/src/hardware/LMI_DiskDriveATAPortProvider.c
index 122b3aa..56a1aa7 100644
--- a/src/hardware/LMI_DiskDriveATAPortProvider.c
+++ b/src/hardware/LMI_DiskDriveATAPortProvider.c
@@ -21,7 +21,6 @@
#include <konkret/konkret.h>
#include "LMI_DiskDriveATAPort.h"
#include "LMI_Hardware.h"
-#include "globals.h"
#include "smartctl.h"
#include "lsblk.h"
@@ -87,7 +86,7 @@ static CMPIStatus LMI_DiskDriveATAPortEnumInstances(
get_system_creation_class_name());
LMI_DiskDriveATAPort_Set_SystemName(&lmi_hdd_ata_port, get_system_name());
LMI_DiskDriveATAPort_Set_CreationClassName(&lmi_hdd_ata_port,
- ORGID "_" DISK_DRIVE_ATA_PORT_CLASS_NAME);
+ LMI_ORGID "_" DISK_DRIVE_ATA_PORT_CLASS_NAME);
LMI_DiskDriveATAPort_Set_Caption(&lmi_hdd_ata_port,
"Disk Drive ATA Port");
LMI_DiskDriveATAPort_Set_Description(&lmi_hdd_ata_port,
@@ -99,7 +98,7 @@ static CMPIStatus LMI_DiskDriveATAPortEnumInstances(
"%s " DISK_DRIVE_ATA_PORT_CLASS_NAME,
lsblk_hdds[i].name);
snprintf(instance_id, INSTANCE_ID_LEN,
- ORGID ":" ORGID "_" DISK_DRIVE_ATA_PORT_CLASS_NAME ":%s",
+ LMI_ORGID ":" LMI_ORGID "_" DISK_DRIVE_ATA_PORT_CLASS_NAME ":%s",
name);
LMI_DiskDriveATAPort_Set_DeviceID(&lmi_hdd_ata_port, name);