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/vsnprintf.c | |
parent | d8dc2faf1033e134e3a8f39bdf15c065f4d234be (diff) | |
download | musl-a37452430f93700aeb122d693959ad79d8e43ada.tar.gz musl-a37452430f93700aeb122d693959ad79d8e43ada.tar.bz2 musl-a37452430f93700aeb122d693959ad79d8e43ada.tar.xz musl-a37452430f93700aeb122d693959ad79d8e43ada.zip |
simplify and optimize FILE lock handling
Diffstat (limited to 'src/stdio/vsnprintf.c')
-rw-r--r-- | src/stdio/vsnprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/vsnprintf.c b/src/stdio/vsnprintf.c index ff792e17..5d3f0c5f 100644 --- a/src/stdio/vsnprintf.c +++ b/src/stdio/vsnprintf.c @@ -17,7 +17,7 @@ int vsnprintf(char *s, size_t n, const char *fmt, va_list ap) f.write = sn_write; f.buf_size = 1; f.buf = buf; - f.owner = -1; + f.lock = -1; if (n > INT_MAX) { errno = EOVERFLOW; return -1; |