summaryrefslogtreecommitdiff
path: root/src/ninep/addr.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/addr.zig')
-rw-r--r--src/ninep/addr.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/addr.zig b/src/ninep/addr.zig
index b78c46e7..3feda5a2 100644
--- a/src/ninep/addr.zig
+++ b/src/ninep/addr.zig
@@ -646,7 +646,7 @@ test "the address language, form by form" {
try testing.expectEqualStrings(c[1], th.wr(p, addr, c[0]).reply.ename);
}
- const nested = "," ** 4096;
+ const nested = &@as([4096]u8, @splat(','));
_ = th.wr(p, addr, "#0");
try testing.expectEqual(E.INVAL, th.wr(p, addr, nested).errno());
}