summaryrefslogtreecommitdiffstats
path: root/src/cmd/venti/conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/venti/conv.c')
-rw-r--r--src/cmd/venti/conv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/venti/conv.c b/src/cmd/venti/conv.c
index ae89baa7..4688b076 100644
--- a/src/cmd/venti/conv.c
+++ b/src/cmd/venti/conv.c
@@ -488,7 +488,7 @@ void
unpackibucket(IBucket *b, u8int *buf)
{
b->n = U16GET(buf);
- b->next = U32GET(&buf[U16Size]);
+ b->depth = U32GET(&buf[U16Size]);
b->data = buf + IBucketSize;
}
@@ -496,5 +496,5 @@ void
packibucket(IBucket *b, u8int *buf)
{
U16PUT(buf, b->n);
- U32PUT(&buf[U16Size], b->next);
+ U32PUT(&buf[U16Size], b->depth);
}