aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9p.c')
-rw-r--r--src/cmd/9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9p.c b/src/cmd/9p.c
index 1befa6b0..2e70399e 100644
--- a/src/cmd/9p.c
+++ b/src/cmd/9p.c
@@ -538,7 +538,7 @@ xls(int argc, char **argv)
}
if(sort)
qsort(d, n, sizeof d[0], dircmp);
- for(j=0; j<5; j++)
+ for(j=0; j<4; j++)
len[j] = 0;
for(i=0; i<n; i++){
d[i].type = 'M';