diff options
author | Wayne Davison <wayned@samba.org> | 2004-02-04 17:05:44 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-02-04 17:05:44 +0000 |
commit | 670d8abf801d534578751876c796ef893ec2075a (patch) | |
tree | 8e7ef7fa9c8d04820d1e1b81e690c567b9295313 /getgroups.c | |
parent | b2bffbb2ca73c65175d6ceb4303a59ccc38c0307 (diff) | |
download | rsync-670d8abf801d534578751876c796ef893ec2075a.tar.gz |
Use MY_GID() instead of getgid().
Diffstat (limited to 'getgroups.c')
-rw-r--r-- | getgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/getgroups.c b/getgroups.c index 4a10fe7d..8dfe264c 100644 --- a/getgroups.c +++ b/getgroups.c @@ -36,7 +36,7 @@ main(UNUSED(int argc), UNUSED(char *argv[])) { int n, i; gid_t list[NGROUPS_MAX]; - gid_t gid = getgid(); + gid_t gid = MY_GID(); int gid_in_list = 0; if ((n = getgroups(NGROUPS_MAX, list)) < 0) { |