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/vsnprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stdio/vsnprintf.c') 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; -- cgit v1.2.1