diff options
Diffstat (limited to 'src/hardware/LMI_PCIDeviceSystemDeviceProvider.c')
-rw-r--r-- | src/hardware/LMI_PCIDeviceSystemDeviceProvider.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hardware/LMI_PCIDeviceSystemDeviceProvider.c b/src/hardware/LMI_PCIDeviceSystemDeviceProvider.c index cb011e9..7231c08 100644 --- a/src/hardware/LMI_PCIDeviceSystemDeviceProvider.c +++ b/src/hardware/LMI_PCIDeviceSystemDeviceProvider.c @@ -22,7 +22,6 @@ #include "LMI_PCIDeviceSystemDevice.h" #include "LMI_Hardware.h" #include "PCIDev.h" -#include "globals.h" static const CMPIBroker* _cb; @@ -33,7 +32,7 @@ static void LMI_PCIDeviceSystemDeviceInitialize(const CMPIContext *ctx) lmi_init(provider_name, _cb, ctx, provider_config_defaults); if (init_pci_access(&acc_system_dev, 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_PCIDeviceSystemDeviceEnumInstances( get_system_creation_class_name()); LMI_PCIDeviceRef_Set_SystemName(&lmi_dev, get_system_name()); LMI_PCIDeviceRef_Set_CreationClassName(&lmi_dev, - ORGID "_" PCI_DEVICE_CLASS_NAME); + LMI_ORGID "_" PCI_DEVICE_CLASS_NAME); LMI_PCIDeviceRef_Set_DeviceID(&lmi_dev, device_id_str); LMI_PCIDeviceSystemDevice_SetObjectPath_GroupComponent( |