authorgravatar for pg999w@outlook.comPeng Guanwen <pg999w@outlook.com> 2024-04-24 20:00:24+08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-06-13 16:51:13-04:00
log82a934bb912241809ac8029e1fa5843092a7fdf6
treeb528ae2452c3cc34685c606ddec817435dc1cfdf
parent8e155959ca95abbc243e276fa8596964f2fed3b2

Fix futex2_waitv syscall

The syscall gives immediate compile error in zig 0.12. This fix that.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os/linux.zig+1-1
...@@ -585,7 +585,7 @@ pub fn futex2_waitv(...@@ -585,7 +585,7 @@ pub fn futex2_waitv(
585 /// Clock to be used for the timeout, realtime or monotonic.585 /// Clock to be used for the timeout, realtime or monotonic.
586 clockid: i32,586 clockid: i32,
587) usize {587) usize {
588 return syscall6(588 return syscall5(
589 .futex_waitv,589 .futex_waitv,
590 @intFromPtr(waiters),590 @intFromPtr(waiters),
591 nr_futexes,591 nr_futexes,