summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/globals.c2
-rw-r--r--src/globals.h2
-rw-r--r--src/power/Linux_AssociatedPowerManagementServiceProvider.c4
-rw-r--r--src/power/Linux_HostedServiceProvider.c4
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;