diff options
Diffstat (limited to 'src/passwd/fgetgrent.c')
-rw-r--r-- | src/passwd/fgetgrent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/passwd/fgetgrent.c b/src/passwd/fgetgrent.c index d8d1c773..7d045fd2 100644 --- a/src/passwd/fgetgrent.c +++ b/src/passwd/fgetgrent.c @@ -5,6 +5,8 @@ struct group *fgetgrent(FILE *f) { static char *line, **mem; static struct group gr; + struct group *res; size_t size=0, nmem=0; - return __getgrent_a(f, &gr, &line, &size, &mem, &nmem); + __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res); + return res; } |