From a37452430f93700aeb122d693959ad79d8e43ada Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 24 Mar 2011 23:16:52 -0400 Subject: simplify and optimize FILE lock handling --- src/stdio/vswprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdio/vswprintf.c') 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; -- cgit v1.2.1