From 5af906e7c834301a0f237b50e1a1474ce0cf6da0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 5 Nov 2006 18:05:09 +0000 Subject: rename: compare_string_array -> index_in_str_array introduce index_in_substr_array and use it in iproute2 --- e2fsprogs/fsck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e2fsprogs') diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 53657fb..66b78b6 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -996,11 +996,11 @@ static int ignore(struct fs_info *fs) if (!fs_match(fs, &fs_type_compiled)) return 1; /* Are we ignoring this type? */ - if(compare_string_array(ignored_types, fs->type) >= 0) + if (index_in_str_array(ignored_types, fs->type) >= 0) return 1; /* Do we really really want to check this fs? */ - wanted = compare_string_array(really_wanted, fs->type) >= 0; + wanted = index_in_str_array(really_wanted, fs->type) >= 0; /* See if the program is available. */ s = find_fsck(fs->type); -- cgit v1.1