summaryrefslogtreecommitdiffstats
path: root/lib/Utils/xfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils/xfuncs.cpp')
-rw-r--r--lib/Utils/xfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/xfuncs.cpp b/lib/Utils/xfuncs.cpp
index 4b208a9e..c4b6dd6b 100644
--- a/lib/Utils/xfuncs.cpp
+++ b/lib/Utils/xfuncs.cpp
@@ -369,7 +369,7 @@ bool string_to_bool(const char *s)
return false;
}
-bool xgetpwnam(const char* login, uid_t *uid)
+bool getuidbyname(const char* login, uid_t *uid)
{
struct passwd* pwd = getpwnam(login);
if (pwd == NULL)