commit 2cbc84317f93f18e00e252f83b2d1cd65925031c
parent 1c08ed0dc8fef3a7b844b02676aa0418ebce00b5
Author: tgoodwin <tgoodwin>
Date: Mon, 9 Feb 1998 14:17:09 +0000
another gid_t / GETGROUPS_T confusion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/which.c b/which.c
@@ -87,7 +87,7 @@ extern char *which(char *name, bool verbose) {
uid = geteuid();
gid = getegid();
#if HAVE_GETGROUPS
- ngroups = getgroups(0, (gid_t *)0);
+ ngroups = getgroups(0, (GETGROUPS_T *)0);
gidset = malloc(ngroups * sizeof(GETGROUPS_T));
if (!gidset)
uerror("malloc");