summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/ext2_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/ext2fs/ext2_hash.c')
-rw-r--r--sys/fs/ext2fs/ext2_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_hash.c b/sys/fs/ext2fs/ext2_hash.c
index 85849b0..50a3811 100644
--- a/sys/fs/ext2fs/ext2_hash.c
+++ b/sys/fs/ext2fs/ext2_hash.c
@@ -289,8 +289,8 @@ ext2_htree_hash(const char *name, int len,
len -= 32;
name += 32;
}
- major = hash[0];
- minor = hash[1];
+ major = hash[1];
+ minor = hash[2];
break;
default:
goto error;
OpenPOWER on IntegriCloud