diff options
Diffstat (limited to 'src/9p_io.zig')
| -rw-r--r-- | src/9p_io.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/9p_io.zig b/src/9p_io.zig index 70bd0bbf..72548d2a 100644 --- a/src/9p_io.zig +++ b/src/9p_io.zig @@ -355,7 +355,7 @@ pub const Listener = struct { const refused = l.refused.swap(0, .acq_rel); if (refused != 0) { var why: [64]u8 = undefined; - pardes.ctlfs.events.notePath(core, "err -", std.fmt.bufPrint(&why, "9p: too many connections ({d} turned away)", .{refused}) catch "9p: too many connections"); + pardes.ctlfs.events.notePath(core, "err -", std.fmt.bufPrint(&why, "9p: too many connections ({d} turned away)", .{refused}) catch unreachable); // a u32 fits 64 } if (!core.fs.news) return; core.fs.news = false; |
