diff options
| author | 2021-12-30 22:06:45 -0800 | |
|---|---|---|
| committer | 2021-12-30 22:06:45 -0800 | |
| commit | 111bef7f06368cfef2da09d60dc449c8eea17d8e (patch) | |
| tree | f8c8858b2eb9f910b070cf2d88e6a05a79d6482a /src/io/io_linux.zig | |
| parent | 6f1c6fbc1af3991d17db9cb24c90eeb9287cb5d4 (diff) | |
| download | bun-111bef7f06368cfef2da09d60dc449c8eea17d8e.tar.gz bun-111bef7f06368cfef2da09d60dc449c8eea17d8e.tar.zst bun-111bef7f06368cfef2da09d60dc449c8eea17d8e.zip | |
_ => .
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 e4623486c..7338d6358 100644 --- a/src/io/io_linux.zig +++ b/src/io/io_linux.zig @@ -119,7 +119,7 @@ pub fn run_for_ns(self: *IO, nanoseconds: u63) !void { // timeout below as an absolute value. Otherwise, we may deadlock if the clock sources are // dramatically different. Any kernel that supports io_uring will support CLOCK_MONOTONIC. var current_ts: timespec = undefined; - os.clock_gettime(os.CLOCK_MONOTONIC, ¤t_ts) catch unreachable; + os.clock_gettime(os.CLOCK.MONOTONIC, ¤t_ts) catch unreachable; // The absolute CLOCK_MONOTONIC time after which we may return from this function: const timeout_ts: timespec = .{ .tv_sec = current_ts.tv_sec, |
