diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:25:05 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:25:05 +0100 |
commit | 43f275008f1d68c6adee461c531d73c65b6b7483 (patch) | |
tree | ce158dc3104c7b4332d097d8bb37b807ed654bd5 /source3/torture | |
parent | 818e0722e1a730cfa30d911be510641ef23dc446 (diff) | |
download | samba-43f275008f1d68c6adee461c531d73c65b6b7483.tar.gz samba-43f275008f1d68c6adee461c531d73c65b6b7483.tar.bz2 samba-43f275008f1d68c6adee461c531d73c65b6b7483.zip |
lib/util: Remove dummy wrapper for getpwuid().
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/cmd_vfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c index 779601a90b..11d19184e4 100644 --- a/source3/torture/cmd_vfs.c +++ b/source3/torture/cmd_vfs.c @@ -607,7 +607,7 @@ static NTSTATUS cmd_stat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c st = smb_fname->st; TALLOC_FREE(smb_fname); - pwd = sys_getpwuid(st.st_ex_uid); + pwd = getpwuid(st.st_ex_uid); if (pwd != NULL) user = pwd->pw_name; else user = null_string; grp = sys_getgrgid(st.st_ex_gid); @@ -678,7 +678,7 @@ static NTSTATUS cmd_fstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, return NT_STATUS_UNSUCCESSFUL; } - pwd = sys_getpwuid(st.st_ex_uid); + pwd = getpwuid(st.st_ex_uid); if (pwd != NULL) user = pwd->pw_name; else user = null_string; grp = sys_getgrgid(st.st_ex_gid); @@ -747,7 +747,7 @@ static NTSTATUS cmd_lstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, st = smb_fname->st; TALLOC_FREE(smb_fname); - pwd = sys_getpwuid(st.st_ex_uid); + pwd = getpwuid(st.st_ex_uid); if (pwd != NULL) user = pwd->pw_name; else user = null_string; grp = sys_getgrgid(st.st_ex_gid); |