diff options
Diffstat (limited to 'src/io/io_linux.zig')
-rw-r--r-- | src/io/io_linux.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/io_linux.zig b/src/io/io_linux.zig index 7338d6358..dd1c6d070 100644 --- a/src/io/io_linux.zig +++ b/src/io/io_linux.zig @@ -134,7 +134,7 @@ pub fn run_for_ns(self: *IO, nanoseconds: u63) !void { break :blk self.ring.get_sqe() catch unreachable; }; // Submit an absolute timeout that will be canceled if any other SQE completes first: - linux.io_uring_prep_timeout(timeout_sqe, &timeout_ts, 1, os.IORING_TIMEOUT_ABS); + linux.io_uring_prep_timeout(timeout_sqe, &timeout_ts, linux.IORING_TIMEOUT_ABS); timeout_sqe.user_data = 0; timeouts += 1; // The amount of time this call will block is bounded by the timeout we just submitted: |