From 818e0722e1a730cfa30d911be510641ef23dc446 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 24 Mar 2012 15:24:15 +0100 Subject: lib/util: Remove dummy wrapper for getpwnam(). --- source3/lib/username.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/username.c b/source3/lib/username.c index 925b44bb06..5192004365 100644 --- a/source3/lib/username.c +++ b/source3/lib/username.c @@ -42,7 +42,7 @@ static struct passwd *getpwnam_alloc_cached(TALLOC_CTX *mem_ctx, const char *nam return tcopy_passwd(mem_ctx, pw); } - pw = sys_getpwnam(name); + pw = getpwnam(name); if (pw == NULL) { return NULL; } @@ -92,7 +92,7 @@ char *get_user_home_dir(TALLOC_CTX *mem_ctx, const char *user) } /**************************************************************************** - * A wrapper for sys_getpwnam(). The following variations are tried: + * A wrapper for getpwnam(). The following variations are tried: * - as transmitted * - in all lower case if this differs from transmitted * - in all upper case if this differs from transmitted -- cgit