diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-24 23:16:52 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-24 23:16:52 -0400 |
commit | a37452430f93700aeb122d693959ad79d8e43ada (patch) | |
tree | 6ed8879bddb17c2b0db8c8bbd4778e11912f0767 /src/stdio/vswprintf.c | |
parent | d8dc2faf1033e134e3a8f39bdf15c065f4d234be (diff) | |
download | musl-a37452430f93700aeb122d693959ad79d8e43ada.tar.gz musl-a37452430f93700aeb122d693959ad79d8e43ada.tar.xz musl-a37452430f93700aeb122d693959ad79d8e43ada.zip |
simplify and optimize FILE lock handling
Diffstat (limited to 'src/stdio/vswprintf.c')
-rw-r--r-- | src/stdio/vswprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/vswprintf.c b/src/stdio/vswprintf.c index 4ad581fb..31ea1875 100644 --- 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; |