aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r--e2fsprogs/fsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 53657fb25..66b78b624 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -996,11 +996,11 @@ static int ignore(struct fs_info *fs)
996 if (!fs_match(fs, &fs_type_compiled)) return 1; 996 if (!fs_match(fs, &fs_type_compiled)) return 1;
997 997
998 /* Are we ignoring this type? */ 998 /* Are we ignoring this type? */
999 if(compare_string_array(ignored_types, fs->type) >= 0) 999 if (index_in_str_array(ignored_types, fs->type) >= 0)
1000 return 1; 1000 return 1;
1001 1001
1002 /* Do we really really want to check this fs? */ 1002 /* Do we really really want to check this fs? */
1003 wanted = compare_string_array(really_wanted, fs->type) >= 0; 1003 wanted = index_in_str_array(really_wanted, fs->type) >= 0;
1004 1004
1005 /* See if the <fsck.fs> program is available. */ 1005 /* See if the <fsck.fs> program is available. */
1006 s = find_fsck(fs->type); 1006 s = find_fsck(fs->type);