summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/ext2fs/ext2_htree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_htree.c b/sys/fs/ext2fs/ext2_htree.c
index 9c20fff..33e4c0f 100644
--- a/sys/fs/ext2fs/ext2_htree.c
+++ b/sys/fs/ext2fs/ext2_htree.c
@@ -471,7 +471,7 @@ ext2_htree_cmp_sort_entry(const void *e1, const void *e2)
if (entry1->h_hash < entry2->h_hash)
return (-1);
- if (entry2->h_hash > entry2->h_hash)
+ if (entry1->h_hash > entry2->h_hash)
return (1);
return (0);
}
OpenPOWER on IntegriCloud