summaryrefslogtreecommitdiffstats
path: root/src/account/LMI_AccountProvider.c
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-05-05 15:28:58 +0200
committerJan Synacek <jsynacek@redhat.com>2014-05-06 08:31:20 +0200
commit08a3b7128e27f474046afa3f78b55df221c59dd9 (patch)
treef59578a238b6086c31904bf925567f96eef0280a /src/account/LMI_AccountProvider.c
parent55f63d29f5d2b4e82979d71386df58394e87ef5a (diff)
downloadopenlmi-providers-08a3b7128e27f474046afa3f78b55df221c59dd9.tar.gz
openlmi-providers-08a3b7128e27f474046afa3f78b55df221c59dd9.tar.xz
openlmi-providers-08a3b7128e27f474046afa3f78b55df221c59dd9.zip
libopenlmi: minor fixes and improvements
Diffstat (limited to 'src/account/LMI_AccountProvider.c')
-rw-r--r--src/account/LMI_AccountProvider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account/LMI_AccountProvider.c b/src/account/LMI_AccountProvider.c
index fcfde9e..fdb06ff 100644
--- a/src/account/LMI_AccountProvider.c
+++ b/src/account/LMI_AccountProvider.c
@@ -110,7 +110,7 @@ static CMPIStatus LMI_AccountEnumInstances(
size_t i;
const char *nameSpace = KNameSpace(cop);
- const char *hostname = get_system_name();
+ const char *hostname = lmi_get_system_name();
char *uid = NULL;
long last_change, min_lifetime, max_lifetime, warn, inactive, expire;
time_t last_login;
@@ -132,7 +132,7 @@ static CMPIStatus LMI_AccountEnumInstances(
LMI_Account_Init(&la, _cb, nameSpace);
LMI_Account_Set_CreationClassName(&la, LMI_Account_ClassName);
LMI_Account_Set_SystemName(&la, hostname);
- LMI_Account_Set_SystemCreationClassName(&la, get_system_creation_class_name());
+ LMI_Account_Set_SystemCreationClassName(&la, lmi_get_system_creation_class_name());
LMI_Account_Set_Name(&la, aux_lu_get_str(lue, LU_USERNAME));
LMI_Account_Init_OrganizationName(&la, 1); /* XXX */