summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:26:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:26:36 +0100
commit32fd6d639a5f51f1cc5fb0e81356009a2c9df359 (patch)
tree5f58fcbd9e9a3ddf301791545394eeb0d2dea238 /source3
parent2a82c45f02b9f5683351ccfa1acdf2622938abc9 (diff)
downloadsamba-32fd6d639a5f51f1cc5fb0e81356009a2c9df359.tar.gz
samba-32fd6d639a5f51f1cc5fb0e81356009a2c9df359.tar.bz2
samba-32fd6d639a5f51f1cc5fb0e81356009a2c9df359.zip
lib/util: Remove dummy wrapper for getgrgid().
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/cmd_vfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c
index 11d19184e4..715dda9da3 100644
--- a/source3/torture/cmd_vfs.c
+++ b/source3/torture/cmd_vfs.c
@@ -610,7 +610,7 @@ static NTSTATUS cmd_stat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c
pwd = getpwuid(st.st_ex_uid);
if (pwd != NULL) user = pwd->pw_name;
else user = null_string;
- grp = sys_getgrgid(st.st_ex_gid);
+ grp = getgrgid(st.st_ex_gid);
if (grp != NULL) group = grp->gr_name;
else group = null_string;
@@ -681,7 +681,7 @@ static NTSTATUS cmd_fstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
pwd = getpwuid(st.st_ex_uid);
if (pwd != NULL) user = pwd->pw_name;
else user = null_string;
- grp = sys_getgrgid(st.st_ex_gid);
+ grp = getgrgid(st.st_ex_gid);
if (grp != NULL) group = grp->gr_name;
else group = null_string;
@@ -750,7 +750,7 @@ static NTSTATUS cmd_lstat(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
pwd = getpwuid(st.st_ex_uid);
if (pwd != NULL) user = pwd->pw_name;
else user = null_string;
- grp = sys_getgrgid(st.st_ex_gid);
+ grp = getgrgid(st.st_ex_gid);
if (grp != NULL) group = grp->gr_name;
else group = null_string;