diff options
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl64.c')
-rw-r--r-- | libc/sysdeps/linux/common/__syscall_fcntl64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c index 0c13d152f..696b1ff41 100644 --- a/libc/sysdeps/linux/common/__syscall_fcntl64.c +++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c @@ -30,7 +30,7 @@ int fcntl64(int fd, int cmd, ...) arg = va_arg(list, long); va_end(list); - if (SINGLE_THREAD_P || (cmd != F_SETLKW64)) + if (SINGLE_THREAD_P || (cmd != F_SETLKW && cmd != F_SETLKW64)) return __NC(fcntl64)(fd, cmd, arg); # ifdef __NEW_THREADS oldtype = LIBC_CANCEL_ASYNC(); |