diff --git a/lib/std/Io/Uring.zig b/lib/std/Io/Uring.zig index 9184cd574153b4768c76347d4e246120827b4a26..e560500a755281510f64954d12040b1b6c5504b4 100644 --- a/lib/std/Io/Uring.zig +++ b/lib/std/Io/Uring.zig @@ -917,7 +917,7 @@ pub fn deinit(ev: *Evented) void { const idle_stack_end_offset = std.mem.alignForward( usize, ev.threads.allocated.len * @sizeOf(Thread) + idle_stack_size, - std.heap.page_size_max, + std.heap.pageSize(), ); for (ev.threads.allocated[1..active_threads]) |*thread| thread.thread.join(); for (ev.threads.allocated[0..active_threads]) |*thread| thread.deinit(ev.backing_allocator);