Fix futex2_waitv syscall

The syscall gives immediate compile error in zig 0.12. This fix that.
This commit is contained in:
Peng Guanwen
2024-04-24 20:00:24 +08:00
committed by Andrew Kelley
parent 8e155959ca
commit 82a934bb91

View File

@@ -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,