lib/util: Remove dummy wrapper for getpwuid().
[metze/samba/wip.git] / source3 / auth / token_util.c
index a84bcc12476b0ad6d930319d84c23b6642785e47..4a88a6bb72521e4aee346d3b03eb48969fdc4d0e 100644 (file)
@@ -93,9 +93,9 @@ struct security_token *get_root_nt_token( void )
                        cache_data, struct security_token);
        }
 
-       if ( !(pw = sys_getpwuid(0)) ) {
+       if ( !(pw = getpwuid(0)) ) {
                if ( !(pw = getpwnam("root")) ) {
-                       DEBUG(0,("get_root_nt_token: both sys_getpwuid(0) "
+                       DEBUG(0,("get_root_nt_token: both getpwuid(0) "
                                "and getpwnam(\"root\") failed!\n"));
                        return NULL;
                }