commit b07426171c15c2399bb1e41c9000fbac6e5d0d49
parent ed2dea21e2615a249edc6c7aa9cb14df50ee699d
Author: tgoodwin <tgoodwin>
Date: Mon, 15 Sep 1997 12:40:01 +0000
s/gid_t/GETGROUPS_T/ in gidset malloc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/which.c b/which.c
@@ -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