summaryrefslogtreecommitdiff
path: root/libc/stdio/old_vfprintf.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-07-14 21:16:54 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-07-14 21:16:54 +0000
commit61c396e2efa6eb680f23a99e8a22574b8017dfab (patch)
tree94ca83c95c68e5db74d9c600513d4e52f92c2c73 /libc/stdio/old_vfprintf.c
parent8fee4bc681fcf020756abeed973e68ee01a316b3 (diff)
Yikes! This was doing another lock instead of unlocking the stream.
Diffstat (limited to 'libc/stdio/old_vfprintf.c')
-rw-r--r--libc/stdio/old_vfprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c
index 8aa9be502..9c8970912 100644
--- a/libc/stdio/old_vfprintf.c
+++ b/libc/stdio/old_vfprintf.c
@@ -490,7 +490,7 @@ int vfprintf(FILE * __restrict op, register const char * __restrict fmt,
i = (__FERROR(op)) ? -1 : cnt;
- __STDIO_THREADLOCK(op);
+ __STDIO_THREADUNLOCK(op);
return i;
}