fsck: use printf for message, not bb_info_msg
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 30 Mar 2016 14:30:24 +0000 (16:30 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 30 Mar 2016 14:30:24 +0000 (16:30 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
e2fsprogs/fsck.c

index 8d89179e361db54e8834fa99673251265f9bb6d5..987d9752846d50f7ed824119f8b0ddd8b01bb802 100644 (file)
@@ -602,7 +602,7 @@ static void fsck_device(struct fs_info *fs /*, int interactive */)
        if (strcmp(fs->type, "auto") != 0) {
                type = fs->type;
                if (G.verbose > 2)
-                       bb_info_msg("using filesystem type '%s' %s",
+                       printf("using filesystem type '%s' %s\n",
                                        type, "from fstab");
        } else if (G.fstype
         && (G.fstype[0] != 'n' || G.fstype[1] != 'o') /* != "no" */
@@ -612,12 +612,12 @@ static void fsck_device(struct fs_info *fs /*, int interactive */)
        ) {
                type = G.fstype;
                if (G.verbose > 2)
-                       bb_info_msg("using filesystem type '%s' %s",
+                       printf("using filesystem type '%s' %s\n",
                                        type, "from -t");
        } else {
                type = "auto";
                if (G.verbose > 2)
-                       bb_info_msg("using filesystem type '%s' %s",
+                       printf("using filesystem type '%s' %s\n",
                                        type, "(default)");
        }