diff options
Diffstat (limited to 'src/hardware/LMI_PCIBridgeSystemDeviceProvider.c')
-rw-r--r-- | src/hardware/LMI_PCIBridgeSystemDeviceProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_PCIBridgeSystemDeviceProvider.c b/src/hardware/LMI_PCIBridgeSystemDeviceProvider.c index 1b26613..c413d1f 100644 --- a/src/hardware/LMI_PCIBridgeSystemDeviceProvider.c +++ b/src/hardware/LMI_PCIBridgeSystemDeviceProvider.c @@ -22,7 +22,6 @@ #include "LMI_PCIBridgeSystemDevice.h" #include "LMI_Hardware.h" #include "PCIDev.h" -#include "globals.h" static const CMPIBroker* _cb; @@ -33,7 +32,7 @@ static void LMI_PCIBridgeSystemDeviceInitialize(const CMPIContext *ctx) lmi_init(provider_name, _cb, ctx, provider_config_defaults); if (init_pci_access(&acc_system_bridge, PCI_FILL_CLASS) != 0) { - error("Failed to access the PCI bus."); + lmi_error("Failed to access the PCI bus."); abort(); } } @@ -88,7 +87,7 @@ static CMPIStatus LMI_PCIBridgeSystemDeviceEnumInstances( get_system_creation_class_name()); LMI_PCIBridgeRef_Set_SystemName(&lmi_dev, get_system_name()); LMI_PCIBridgeRef_Set_CreationClassName(&lmi_dev, - ORGID "_" PCI_BRIDGE_CLASS_NAME); + LMI_ORGID "_" PCI_BRIDGE_CLASS_NAME); LMI_PCIBridgeRef_Set_DeviceID(&lmi_dev, device_id_str); LMI_PCIBridgeSystemDevice_SetObjectPath_GroupComponent( |