aboutsummaryrefslogtreecommitdiff
path: root/src/io/io_darwin.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-15 17:52:04 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-15 17:52:04 -0800
commit934360646fd063a84c6527eea059dc40ae0050bb (patch)
tree41d17932e07fd3230ab924b102079d84ee0403e3 /src/io/io_darwin.zig
parent98df9d7703708cc7351563b9500d6a337003c3eb (diff)
downloadbun-u/vjpr/zig-0.10.tar.gz
bun-u/vjpr/zig-0.10.tar.zst
bun-u/vjpr/zig-0.10.zip
Diffstat (limited to '')
-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_);