diff options
| author | tgoodwin <tgoodwin> | 1998-02-11 15:44:57 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:03 +0100 |
| commit | 2184e03bc66a77d9ead42730d51c22b942e7848e (patch) | |
| tree | ee0e7cd6ae3db06b3c390fa0b66bb38b8034f63f | |
| parent | e438ef1167232d1f863aafc078be47e99574c344 (diff) | |
an array of `gid_t's is not indexed by gid_t, bozo
| -rw-r--r-- | which.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ static GETGROUPS_T *gidset; /* determine whether gid lies in gidset */ static int ingidset(gid_t g) { - gid_t i; + int i; for (i = 0; i < ngroups; ++i) if (g == gidset[i]) return 1; |