diff options
| author | tgoodwin <tgoodwin> | 1997-09-15 12:40:01 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:01 +0100 |
| commit | b07426171c15c2399bb1e41c9000fbac6e5d0d49 (patch) | |
| tree | 196f7c767bcf273c66155d2369493eca78877e68 /which.c | |
| parent | ed2dea21e2615a249edc6c7aa9cb14df50ee699d (diff) | |
s/gid_t/GETGROUPS_T/ in gidset malloc
Diffstat (limited to 'which.c')
| -rw-r--r-- | which.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ extern char *which(char *name, bool verbose) { gid = getegid(); #if HAVE_GETGROUPS ngroups = getgroups(0, (gid_t *)0); - gidset = malloc(ngroups * sizeof(gid_t)); + gidset = malloc(ngroups * sizeof(GETGROUPS_T)); if (!gidset) uerror("malloc"); else |