projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simplify and optimize FILE lock handling
[musl]
/
src
/
stdio
/
vswprintf.c
diff --git
a/src/stdio/vswprintf.c
b/src/stdio/vswprintf.c
index
4ad581f
..
31ea187
100644
(file)
--- a/
src/stdio/vswprintf.c
+++ b/
src/stdio/vswprintf.c
@@
-32,7
+32,7
@@
int vswprintf(wchar_t *s, size_t n, const wchar_t *fmt, va_list ap)
f.write = sw_write;
f.buf_size = sizeof buf;
f.buf = buf;
- f.
owner
= -1;
+ f.
lock
= -1;
f.cookie = &c;
if (!n) {
return -1;