aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-11-26 10:45:26 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-11-26 10:45:26 +0000
commit0d9ad9dd2ee75f7b433779cebbe38e99b3b254aa (patch)
tree88ad65a7ac7c081822978ca80acc27ee4dd928ee /e2fsprogs/fsck.c
parent3082af9bcfed3f7ab3b39eaf7a02aa051043cbf1 (diff)
downloadbusybox-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.c4
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);