summaryrefslogtreecommitdiff
path: root/src/esp32p4_9p.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/esp32p4_9p.zig')
-rw-r--r--src/esp32p4_9p.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/esp32p4_9p.zig b/src/esp32p4_9p.zig
index e23235a0..cd59b9df 100644
--- a/src/esp32p4_9p.zig
+++ b/src/esp32p4_9p.zig
@@ -103,6 +103,7 @@ fn die(msg: []const u8) noreturn {
.{ .rerror = .{ .ename = msg[0..@min(msg.len, ninep.errmax)] } },
ninep.notag,
&buf,
+ // unreachable: the message is cut to errmax and buf is sized to it
) catch unreachable;
uart.write(bytes);
while (true) {}