summaryrefslogtreecommitdiff
path: root/groupaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'groupaccess.c')
-rw-r--r--groupaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/groupaccess.c b/groupaccess.c
index 66dfa68fe..b90791832 100644
--- a/groupaccess.c
+++ b/groupaccess.c
@@ -49,7 +49,7 @@ ga_init(const char *user, gid_t base)
49 49
50 ngroups = sizeof(groups_bygid) / sizeof(gid_t); 50 ngroups = sizeof(groups_bygid) / sizeof(gid_t);
51 if (getgrouplist(user, base, groups_bygid, &ngroups) == -1) 51 if (getgrouplist(user, base, groups_bygid, &ngroups) == -1)
52 log("getgrouplist: groups list too small"); 52 logit("getgrouplist: groups list too small");
53 for (i = 0, j = 0; i < ngroups; i++) 53 for (i = 0, j = 0; i < ngroups; i++)
54 if ((gr = getgrgid(groups_bygid[i])) != NULL) 54 if ((gr = getgrgid(groups_bygid[i])) != NULL)
55 groups_byname[j++] = xstrdup(gr->gr_name); 55 groups_byname[j++] = xstrdup(gr->gr_name);