diff options
author | Jim Meyering <meyering@lucent.com> | 1996-01-04 23:21:47 +0000 |
---|---|---|
committer | Jim Meyering <meyering@lucent.com> | 1996-01-04 23:21:47 +0000 |
commit | 85f40840015f648c8fdb6dfe7ea462be3884e10c (patch) | |
tree | 6f566754accf5cf046e2127913aa85b362f5d56d /manual/users.texi | |
parent | Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> (diff) | |
download | glibc-85f40840015f648c8fdb6dfe7ea462be3884e10c.tar.gz glibc-85f40840015f648c8fdb6dfe7ea462be3884e10c.tar.bz2 glibc-85f40840015f648c8fdb6dfe7ea462be3884e10c.zip |
Reverse order of arguments in getgroups call (in example) to match prototype.cvs/libc-960106cvs/libc-960105
Diffstat (limited to 'manual/users.texi')
-rw-r--r-- | manual/users.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/users.texi b/manual/users.texi index c35e8b6a5b..9b5e1ce9b5 100644 --- a/manual/users.texi +++ b/manual/users.texi @@ -246,7 +246,7 @@ IDs: gid_t * read_all_groups (void) @{ - int ngroups = getgroups (NULL, 0); + int ngroups = getgroups (0, NULL); gid_t *groups = (gid_t *) xmalloc (ngroups * sizeof (gid_t)); int val = getgroups (ngroups, groups); |