aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-05 18:05:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-05 18:05:09 +0000
commit5af906e7c834301a0f237b50e1a1474ce0cf6da0 (patch)
tree8a5a2783a458269715a05dc48236cae8b1cb1ee0 /e2fsprogs/fsck.c
parent402151671b58b264f9c023e8e29615b3dc3c9acc (diff)
downloadbusybox-w32-5af906e7c834301a0f237b50e1a1474ce0cf6da0.tar.gz
busybox-w32-5af906e7c834301a0f237b50e1a1474ce0cf6da0.tar.bz2
busybox-w32-5af906e7c834301a0f237b50e1a1474ce0cf6da0.zip
rename: compare_string_array -> index_in_str_array
introduce index_in_substr_array and use it in iproute2
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);