X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2F__stdio_exit.c;h=0fb3323489301651c14b0f516b94fb8f7b7bb3cf;hb=5afc74fbaa2371f30df0dc9fb7bc3afe6bd96137;hp=3f87e7ed87ff9cc92a65f3fad693ea980bc80b21;hpb=a71e0af25544fd2486e57ea51c6d05abdbf44c3e;p=musl diff --git a/src/stdio/__stdio_exit.c b/src/stdio/__stdio_exit.c index 3f87e7ed..0fb33234 100644 --- a/src/stdio/__stdio_exit.c +++ b/src/stdio/__stdio_exit.c @@ -8,7 +8,7 @@ weak_alias(dummy_file, __stderr_used); static void close_file(FILE *f) { if (!f) return; - FLOCK(f); + FFINALLOCK(f); if (f->wpos > f->wbase) f->write(f, 0, 0); if (f->rpos < f->rend) f->seek(f, f->rpos-f->rend, SEEK_CUR); }