aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-05 18:05:09 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-11-05 18:05:09 +0000
commitd8df0a9bd2e6fdc7a30156ed4114808b1ff1e3fb (patch)
tree8a5a2783a458269715a05dc48236cae8b1cb1ee0 /e2fsprogs/fsck.c
parenta76b1a148dd871587bfc6a579a6b245684e6b5ce (diff)
downloadbusybox-w32-d8df0a9bd2e6fdc7a30156ed4114808b1ff1e3fb.tar.gz
busybox-w32-d8df0a9bd2e6fdc7a30156ed4114808b1ff1e3fb.tar.bz2
busybox-w32-d8df0a9bd2e6fdc7a30156ed4114808b1ff1e3fb.zip
rename: compare_string_array -> index_in_str_array
introduce index_in_substr_array and use it in iproute2 git-svn-id: svn://busybox.net/trunk/busybox@16515 69ca8d6d-28ef-0310-b511-8ec308f3f277
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);