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 c2160d5d9..104da0507 100644
--- a/src/io/io_darwin.zig
+++ b/src/io/io_darwin.zig
@@ -746,7 +746,7 @@ fn flush(self: *IO, comptime _: @Type(.EnumLiteral)) !void {
);
if (new_events_ < 0) {
- return std.debug.panic("kevent() failed {any}", .{@tagName(std.c.getErrno(new_events_))});
+ return std.debug.panic("kevent() failed {s}", .{@tagName(std.c.getErrno(new_events_))});
}
const new_events = @intCast(usize, new_events_);