X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Fvfwprintf.c;h=c6400591a01ac7d6e257721eb0ed19b4f3a5a556;hb=59549313d85fa9a0168ff8164cfe734255585f46;hp=984ff7b7fc8b9c2c0157786ed7fd5d00a4230dd8;hpb=49b3a0d2cedd3693d77924fdc0a7719a75bd28da;p=musl diff --git a/src/stdio/vfwprintf.c b/src/stdio/vfwprintf.c index 984ff7b7..c6400591 100644 --- a/src/stdio/vfwprintf.c +++ b/src/stdio/vfwprintf.c @@ -355,6 +355,7 @@ int vfwprintf(FILE *restrict f, const wchar_t *restrict fmt, va_list ap) } FLOCK(f); + f->mode |= f->mode+1; ret = wprintf_core(f, fmt, &ap2, nl_arg, nl_type); FUNLOCK(f); va_end(ap2);