diff options
Diffstat (limited to 'grp')
-rw-r--r-- | grp/initgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grp/initgroups.c b/grp/initgroups.c index 7b0fe8b..fd30ebf 100644 --- a/grp/initgroups.c +++ b/grp/initgroups.c @@ -52,7 +52,7 @@ compat_call (service_user *nip, const char *user, gid_t group, long int *start, long int *size, gid_t *groups, long int limit, int *errnop) { struct group grpbuf; - size_t buflen = __sysconf (_SC_GETPW_R_SIZE_MAX); + size_t buflen = __sysconf (_SC_GETGR_R_SIZE_MAX); char *tmpbuf; enum nss_status status; set_function setgrent_fct; |