diff options
author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-11-26 10:45:26 +0000 |
---|---|---|
committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-11-26 10:45:26 +0000 |
commit | 0d9ad9dd2ee75f7b433779cebbe38e99b3b254aa (patch) | |
tree | 88ad65a7ac7c081822978ca80acc27ee4dd928ee /e2fsprogs/fsck.c | |
parent | 3082af9bcfed3f7ab3b39eaf7a02aa051043cbf1 (diff) | |
download | busybox-w32-0d9ad9dd2ee75f7b433779cebbe38e99b3b254aa.tar.gz busybox-w32-0d9ad9dd2ee75f7b433779cebbe38e99b3b254aa.tar.bz2 busybox-w32-0d9ad9dd2ee75f7b433779cebbe38e99b3b254aa.zip |
change the interface of libbb/compare_string_array (unsigned short to int), usaging for e2fsprogs/fsck
git-svn-id: svn://busybox.net/trunk/busybox@12535 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r-- | e2fsprogs/fsck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index ae4e3d0c8..7f7ab3eb3 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -1006,11 +1006,11 @@ static int ignore(struct fs_info *fs) | |||
1006 | if (!fs_match(fs, &fs_type_compiled)) return 1; | 1006 | if (!fs_match(fs, &fs_type_compiled)) return 1; |
1007 | 1007 | ||
1008 | /* Are we ignoring this type? */ | 1008 | /* Are we ignoring this type? */ |
1009 | if(compare_string_array(ignored_types, fs->type)) | 1009 | if(compare_string_array(ignored_types, fs->type) >= 0) |
1010 | return 1; | 1010 | return 1; |
1011 | 1011 | ||
1012 | /* Do we really really want to check this fs? */ | 1012 | /* Do we really really want to check this fs? */ |
1013 | wanted = compare_string_array(really_wanted, fs->type); | 1013 | wanted = compare_string_array(really_wanted, fs->type) >= 0; |
1014 | 1014 | ||
1015 | /* See if the <fsck.fs> program is available. */ | 1015 | /* See if the <fsck.fs> program is available. */ |
1016 | s = find_fsck(fs->type); | 1016 | s = find_fsck(fs->type); |