diff options
Diffstat (limited to 'src/hardware/LMI_PhysicalBatteryRealizesProvider.c')
-rw-r--r-- | src/hardware/LMI_PhysicalBatteryRealizesProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_PhysicalBatteryRealizesProvider.c b/src/hardware/LMI_PhysicalBatteryRealizesProvider.c index e35b4c6..5cc6afb 100644 --- a/src/hardware/LMI_PhysicalBatteryRealizesProvider.c +++ b/src/hardware/LMI_PhysicalBatteryRealizesProvider.c @@ -21,7 +21,6 @@ #include <konkret/konkret.h> #include "LMI_PhysicalBatteryRealizes.h" #include "LMI_Hardware.h" -#include "globals.h" #include "dmidecode.h" static const CMPIBroker* _cb; @@ -76,12 +75,12 @@ static CMPIStatus LMI_PhysicalBatteryRealizesEnumInstances( get_system_creation_class_name()); LMI_BatteryRef_Set_SystemName(&lmi_batt, get_system_name()); LMI_BatteryRef_Set_CreationClassName(&lmi_batt, - ORGID "_" BATTERY_CLASS_NAME); + LMI_ORGID "_" BATTERY_CLASS_NAME); LMI_BatteryRef_Set_DeviceID(&lmi_batt, dmi_batt[i].name); LMI_BatteryPhysicalPackageRef_Init(&lmi_batt_phys, _cb, ns); LMI_BatteryPhysicalPackageRef_Set_CreationClassName(&lmi_batt_phys, - ORGID "_" BATTERY_PHYS_PKG_CLASS_NAME); + LMI_ORGID "_" BATTERY_PHYS_PKG_CLASS_NAME); LMI_BatteryPhysicalPackageRef_Set_Tag(&lmi_batt_phys, dmi_batt[i].name); LMI_PhysicalBatteryRealizes_Set_Antecedent(&lmi_phys_batt_realizes, |