From 82a934bb912241809ac8029e1fa5843092a7fdf6 Mon Sep 17 00:00:00 2001 From: Peng Guanwen Date: Wed, 24 Apr 2024 20:00:24 +0800 Subject: [PATCH] Fix futex2_waitv syscall The syscall gives immediate compile error in zig 0.12. This fix that. --- lib/std/os/linux.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index 6de7a0ad75..1dbcd0e261 100644 --- a/lib/std/os/linux.zig +++ b/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,