summaryrefslogtreecommitdiff
path: root/e2fsprogs/fsck.c
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-11-26 10:45:26 +0000
committer"Vladimir N. Oleynik"2005-11-26 10:45:26 +0000
commitcc34344d91cea789edde507bf85714af11daea71 (patch)
tree88ad65a7ac7c081822978ca80acc27ee4dd928ee /e2fsprogs/fsck.c
parent61ff4b39738085d1b88d934f619b840fd296c8a8 (diff)
downloadbusybox-cc34344d91cea789edde507bf85714af11daea71.zip
busybox-cc34344d91cea789edde507bf85714af11daea71.tar.gz
change the interface of libbb/compare_string_array (unsigned short to int), usaging for e2fsprogs/fsck
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 ae4e3d0..7f7ab3e 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -1006,11 +1006,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))
+ if(compare_string_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);
+ wanted = compare_string_array(really_wanted, fs->type) >= 0;
/* See if the <fsck.fs> program is available. */
s = find_fsck(fs->type);