Commit 82a934bb91

Peng Guanwen <pg999w@outlook.com>
2024-04-24 14:00:24
Fix futex2_waitv syscall
The syscall gives immediate compile error in zig 0.12. This fix that.
1 parent 8e15595
Changed files (1)
lib
std
lib/std/os/linux.zig
@@ -585,7 +585,7 @@ pub fn futex2_waitv(
     /// Clock to be used for the timeout, realtime or monotonic.
     clockid: i32,
 ) usize {
-    return syscall6(
+    return syscall5(
         .futex_waitv,
         @intFromPtr(waiters),
         nr_futexes,