add compile-time check for correct DHCP packet size
[oweals/busybox.git] / e2fsprogs / fsck.c
index 06ba4b2067be790e74b4a3c6aafbb044ce47bdcc..66b78b624d5d24dc375d96af2557257d22f655d9 100644 (file)
@@ -614,7 +614,7 @@ static int execute(const char *type, const char *device, const char *mntpt,
                       mntpt ? mntpt : device);
                for (i=0; i < argc; i++)
                        printf("%s ", argv[i]);
-               printf("\n");
+               puts("");
        }
 
        /* Fork and execute the correct program. */
@@ -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 <fsck.fs> program is available. */
        s = find_fsck(fs->type);