diff options
Diffstat (limited to 'libc/pwd_grp/grent.c')
-rw-r--r-- | libc/pwd_grp/grent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/pwd_grp/grent.c b/libc/pwd_grp/grent.c index 5ebcf265c..587fe0d93 100644 --- a/libc/pwd_grp/grent.c +++ b/libc/pwd_grp/grent.c @@ -41,6 +41,8 @@ static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER; #endif static int grp_fd = -1; +static char *line_buff = NULL; +static char **members = NULL; void setgrent(void) { @@ -69,7 +71,7 @@ struct group *getgrent(void) UNLOCK; return NULL; } - r = __getgrent(grp_fd); + r = __getgrent(grp_fd, line_buff, members); UNLOCK; return r; } |