summaryrefslogtreecommitdiff
path: root/libc/stdio/ftrylockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/ftrylockfile.c')
-rw-r--r--libc/stdio/ftrylockfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/ftrylockfile.c b/libc/stdio/ftrylockfile.c
index d85b8ff59..0d2e156af 100644
--- a/libc/stdio/ftrylockfile.c
+++ b/libc/stdio/ftrylockfile.c
@@ -15,5 +15,5 @@ int ftrylockfile(FILE *stream)
{
__STDIO_STREAM_VALIDATE(stream);
- return __STDIO_ALWAYS_THREADTRYLOCK(stream);
+ return __STDIO_ALWAYS_THREADTRYLOCK_CANCEL_UNSAFE(stream);
}