From 10a17ee9c626b0d231806b8fab37cb7e3f0f9a1d Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Mon, 30 Jul 2012 09:49:42 +0200 Subject: Fix typo in get_system_creation_class_name method name --- src/globals.c | 2 +- src/globals.h | 2 +- src/power/Linux_AssociatedPowerManagementServiceProvider.c | 4 ++-- src/power/Linux_HostedServiceProvider.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/globals.c b/src/globals.c index dea404a..2a2646b 100644 --- a/src/globals.c +++ b/src/globals.c @@ -55,7 +55,7 @@ const char *get_system_name() return _fqdn; } -const char *get_system_creationg_class_name() +const char *get_system_creation_class_name() { return "Linux_ComputerSystem"; } diff --git a/src/globals.h b/src/globals.h index 4f56413..a027656 100644 --- a/src/globals.h +++ b/src/globals.h @@ -4,7 +4,7 @@ const char *get_system_name(); -const char *get_system_creationg_class_name(); +const char *get_system_creation_class_name(); int log_level(void); void set_log_level(int level); diff --git a/src/power/Linux_AssociatedPowerManagementServiceProvider.c b/src/power/Linux_AssociatedPowerManagementServiceProvider.c index 8013d80..31adfc1 100644 --- a/src/power/Linux_AssociatedPowerManagementServiceProvider.c +++ b/src/power/Linux_AssociatedPowerManagementServiceProvider.c @@ -55,9 +55,9 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceEnumInstances( CIM_ComputerSystemRef computerSystemRef; CIM_ComputerSystemRef_Init(&computerSystemRef, _cb, ns); CIM_ComputerSystemRef_Set_Name(&computerSystemRef, get_system_name()); - CIM_ComputerSystemRef_Set_CreationClassName(&computerSystemRef, get_system_creationg_class_name()); + CIM_ComputerSystemRef_Set_CreationClassName(&computerSystemRef, get_system_creation_class_name()); CMPIObjectPath *computerSystemOP = CIM_ComputerSystemRef_ToObjectPath(&computerSystemRef, &rc); - computerSystemOP->ft->setClassName(computerSystemOP, get_system_creationg_class_name()); + computerSystemOP->ft->setClassName(computerSystemOP, get_system_creation_class_name()); Linux_AssociatedPowerManagementService_SetObjectPath_UserOfService(&w, computerSystemOP); Linux_PowerManagementServiceRef powerManagementServiceRef; diff --git a/src/power/Linux_HostedServiceProvider.c b/src/power/Linux_HostedServiceProvider.c index 7aa1762..8a65fe9 100644 --- a/src/power/Linux_HostedServiceProvider.c +++ b/src/power/Linux_HostedServiceProvider.c @@ -46,9 +46,9 @@ static CMPIStatus Linux_HostedServiceEnumInstances( CIM_ComputerSystemRef computerSystemRef; CIM_ComputerSystemRef_Init(&computerSystemRef, _cb, ns); CIM_ComputerSystemRef_Set_Name(&computerSystemRef, get_system_name()); - CIM_ComputerSystemRef_Set_CreationClassName(&computerSystemRef, get_system_creationg_class_name()); + CIM_ComputerSystemRef_Set_CreationClassName(&computerSystemRef, get_system_creation_class_name()); CMPIObjectPath *computerSystemOP = CIM_ComputerSystemRef_ToObjectPath(&computerSystemRef, &rc); - computerSystemOP->ft->setClassName(computerSystemOP, get_system_creationg_class_name()); + computerSystemOP->ft->setClassName(computerSystemOP, get_system_creation_class_name()); Linux_HostedService_SetObjectPath_Antecedent(&w, computerSystemOP); Linux_PowerManagementServiceRef powerManagementServiceRef; -- cgit