From 15f0af09d0ba8e8a6a7b44702913ca309afe2296 Mon Sep 17 00:00:00 2001 From: xeondev Date: Wed, 4 Mar 2026 13:15:06 +0300 Subject: [PATCH] Io.Threaded.batchAwaitConcurrent: fix poll args --- lib/std/Io/Threaded.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Io/Threaded.zig b/lib/std/Io/Threaded.zig index c0b6b2b47d..83bda2c865 100644 --- a/lib/std/Io/Threaded.zig +++ b/lib/std/Io/Threaded.zig @@ -2868,7 +2868,7 @@ fn batchAwaitConcurrent(userdata: ?*anyopaque, b: *Io.Batch, timeout: Io.Timeout break :t @min(@max(0, duration.raw.toMilliseconds()), std.math.maxInt(i32)); }; const syscall = try Syscall.start(); - const rc = posix.system.poll(&poll_buffer, poll_storage.len, timeout_ms); + const rc = posix.system.poll(poll_storage.slice.ptr, poll_storage.len, timeout_ms); syscall.finish(); switch (posix.errno(rc)) { .SUCCESS => {