aboutsummaryrefslogtreecommitdiff
path: root/src/io/io_darwin.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/io_darwin.zig')
-rw-r--r--src/io/io_darwin.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/io_darwin.zig b/src/io/io_darwin.zig
index f72ea73ae..5157b0198 100644
--- a/src/io/io_darwin.zig
+++ b/src/io/io_darwin.zig
@@ -491,7 +491,7 @@ pub fn hasNoWork(this: *IO) bool {
return this.pending_count == 0 and this.io_inflight == 0 and this.io_pending.peek() == null and this.completed.peek() == null and this.timeouts.peek() == null;
}
-pub fn init(_: u12, _: u32) !IO {
+pub fn init(_: u12, _: u32, _: anytype) !IO {
const kq = try os.kqueue();
assert(kq > -1);
return IO{ .kq = kq };