summaryrefslogtreecommitdiff
path: root/libc/stdio/flockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/flockfile.c')
-rw-r--r--libc/stdio/flockfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/flockfile.c b/libc/stdio/flockfile.c
index 0dcc7c266..3fad7118d 100644
--- a/libc/stdio/flockfile.c
+++ b/libc/stdio/flockfile.c
@@ -11,6 +11,6 @@ void flockfile(FILE *stream)
{
__STDIO_STREAM_VALIDATE(stream);
- __STDIO_ALWAYS_THREADLOCK(stream);
+ __STDIO_ALWAYS_THREADLOCK_CANCEL_UNSAFE(stream);
}