summaryrefslogtreecommitdiff
path: root/src/ninep/tree.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninep/tree.zig')
-rw-r--r--src/ninep/tree.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/tree.zig b/src/ninep/tree.zig
index bda2c1d1..bd87f5bc 100644
--- a/src/ninep/tree.zig
+++ b/src/ninep/tree.zig
@@ -678,7 +678,7 @@ fn topSize(p: *Pardes, f: TopFile) u64 {
// one (a 9ns mount's splice), and a follower's reads go past it.
.log => 0,
.ctl => ctl.rootLen(p),
- .commands => ctl.commandsLen(),
+ .commands => ctl.commandsLen(p),
.focus => focus: {
if (p.header_focus) break :focus 0;
const pn = p.panes[p.active] orelse break :focus 0;