From fbceb4304b3665326689b6e996ceaa2bf20ed0a6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 05:45:07 -0300 Subject: addr, dot and limit on a pane with no text are refused `invalid address: this pane has no text to address`, which a mount reads as EINVAL, not EIO 9ns maps a refusal back to its errno by its words; "this pane has no text to address" held none it knows. The reference quotes the new words. Co-Authored-By: Claude Opus 5.5 --- src/ninep/pane.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ninep/pane.zig') diff --git a/src/ninep/pane.zig b/src/ninep/pane.zig index 6a6b444f..f69813b0 100644 --- a/src/ninep/pane.zig +++ b/src/ninep/pane.zig @@ -825,7 +825,7 @@ fn pairOf(text: []const u8) ?State.Range { return .{ .q0 = q0, .q1 = q1 }; } -pub const e_no_text_address = "this pane has no text to address"; +pub const e_no_text_address = "invalid address: this pane has no text to address"; pub const e_addr_failed = "no address: the last one written to addr failed"; -- cgit v1.3