diff options
Diffstat (limited to 'libc/pwd_grp')
-rw-r--r-- | libc/pwd_grp/pwd_grp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c index 74f784231..026034515 100644 --- a/libc/pwd_grp/pwd_grp.c +++ b/libc/pwd_grp/pwd_grp.c @@ -803,6 +803,7 @@ int putgrent(const struct group *__restrict p, FILE *__restrict f) if (fprintf(f, fmt, *m) < 0) { break; } + ++m; fmt = format; } while (1); |