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/auth/token_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/auth/token_util.c') diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c index 87f57b66ee..a84bcc1247 100644 --- a/source3/auth/token_util.c +++ b/source3/auth/token_util.c @@ -94,9 +94,9 @@ struct security_token *get_root_nt_token( void ) } if ( !(pw = sys_getpwuid(0)) ) { - if ( !(pw = sys_getpwnam("root")) ) { + if ( !(pw = getpwnam("root")) ) { DEBUG(0,("get_root_nt_token: both sys_getpwuid(0) " - "and sys_getpwnam(\"root\") failed!\n")); + "and getpwnam(\"root\") failed!\n")); return NULL; } } -- cgit