summaryrefslogtreecommitdiff
path: root/sys/src/cmd/upas/fs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-07-05 19:51:59 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-07-05 19:51:59 +0200
commit786ec28b7b561fb1448a884ee0cd51525e9339d6 (patch)
tree8f640d8facbef14891b9d96fc07b68abb1cc4165 /sys/src/cmd/upas/fs
parente844c77845e489a1e6421b570e221e9672106bbc (diff)
upas/fs: fix wrong nparts field index (changed in previous commit)
Diffstat (limited to 'sys/src/cmd/upas/fs')
-rw-r--r--sys/src/cmd/upas/fs/idx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/upas/fs/idx.c b/sys/src/cmd/upas/fs/idx.c
index c715552a8..8c23e7fa0 100644
--- a/sys/src/cmd/upas/fs/idx.c
+++ b/sys/src/cmd/upas/fs/idx.c
@@ -373,7 +373,7 @@ dead:
if(level == 0)
m->deleted &= ~Dmark;
n = m->nparts;
- m->nparts = strtoul(f[21], 0, 0);
+ m->nparts = strtoul(f[22], 0, 0);
if(rdidx(b, mb, m, m->nparts, level + 1) == -1)
goto dead;
ll = &m->next;