summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2012-07-30 09:49:42 +0200
committerRadek Novacek <rnovacek@redhat.com>2012-07-30 09:49:42 +0200
commit10a17ee9c626b0d231806b8fab37cb7e3f0f9a1d (patch)
treed4fa952061e3ecf53328f17cd563d22dbaf8257d /src
parent4c44beca56b4334a50518a91a7ce2835e00bc00e (diff)
downloadopenlmi-providers-10a17ee9c626b0d231806b8fab37cb7e3f0f9a1d.tar.gz
openlmi-providers-10a17ee9c626b0d231806b8fab37cb7e3f0f9a1d.tar.xz
openlmi-providers-10a17ee9c626b0d231806b8fab37cb7e3f0f9a1d.zip
Fix typo in get_system_creation_class_name method name
Diffstat (limited to 'src')
-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;