diff options
| author | Stefan Eßer <se@FreeBSD.org> | 1995-02-17 19:45:21 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 1995-02-17 19:45:21 +0000 |
| commit | b5fd1704b252e24185d04074fcbc423b1f5004eb (patch) | |
| tree | b8b7a480914bddbc9a710f63259e05d15ee14c25 /lib/libc | |
| parent | 390784fbebe31d67406b94165d7856df4ef1e589 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/getgrouplist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c index 41eaf5e814f6..10c4df76f3e8 100644 --- a/lib/libc/gen/getgrouplist.c +++ b/lib/libc/gen/getgrouplist.c @@ -70,7 +70,7 @@ getgrouplist(uname, agroup, groups, grpcnt) */ setgrent(); while (grp = getgrent()) { - for (i = 1; i < ngroups; i++) { + for (i = 0; i < ngroups; i++) { if (grp->gr_gid == groups[i]) goto skip; } |
