projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix argument omission in ABI-compat weak_alias for fscanf
[musl]
/
src
/
stdio
/
fclose.c
diff --git
a/src/stdio/fclose.c
b/src/stdio/fclose.c
index
92bf7ff
..
38e8a1e
100644
(file)
--- a/
src/stdio/fclose.c
+++ b/
src/stdio/fclose.c
@@
-5,8
+5,7
@@
int fclose(FILE *f)
int r;
int perm;
int r;
int perm;
- /* This lock is not paired with any unlock. */
- FLOCK(f);
+ FFINALLOCK(f);
if (!(perm = f->flags & F_PERM)) {
OFLLOCK();
if (!(perm = f->flags & F_PERM)) {
OFLLOCK();