diff options
Diffstat (limited to 'src/power/Linux_AssociatedPowerManagementServiceProvider.c')
-rw-r--r-- | src/power/Linux_AssociatedPowerManagementServiceProvider.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/power/Linux_AssociatedPowerManagementServiceProvider.c b/src/power/Linux_AssociatedPowerManagementServiceProvider.c index 31adfc1..d6d6454 100644 --- a/src/power/Linux_AssociatedPowerManagementServiceProvider.c +++ b/src/power/Linux_AssociatedPowerManagementServiceProvider.c @@ -1,7 +1,7 @@ #include "Linux_AssociatedPowerManagementService.h" #include "Linux_PowerManagementService.h" -#include "Linux_ComputerSystem.h" +#include "CIM_ComputerSystem.h" #include "power.h" @@ -65,7 +65,7 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceEnumInstances( Linux_PowerManagementServiceRef_Set_Name(&powerManagementServiceRef, get_system_name()); Linux_PowerManagementServiceRef_Set_SystemName(&powerManagementServiceRef, get_system_name()); Linux_PowerManagementServiceRef_Set_CreationClassName(&powerManagementServiceRef, "Linux_PowerManagementService"); - Linux_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, "Linux_ComputerSystem"); + Linux_PowerManagementServiceRef_Set_SystemCreationClassName(&powerManagementServiceRef, get_system_creation_class_name()); Linux_AssociatedPowerManagementService_Set_ServiceProvided(&w, &powerManagementServiceRef); int count; |