projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7974fe2
)
Reverse order of arguments in getgroups call (in example) to match prototype.
cvs/libc-960105
cvs/libc-960106
author
Jim Meyering
<meyering@lucent.com>
Thu, 4 Jan 1996 23:21:47 +0000
(23:21 +0000)
committer
Jim Meyering
<meyering@lucent.com>
Thu, 4 Jan 1996 23:21:47 +0000
(23:21 +0000)
manual/users.texi
patch
|
blob
|
history
diff --git
a/manual/users.texi
b/manual/users.texi
index c35e8b6a5bdc97979bed685066894b761659f65e..9b5e1ce9b5fac58b8f784adec4d3d87520509d51 100644
(file)
--- 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);