aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-03-30 16:30:24 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-03-30 16:30:24 +0200
commitc418f48d8dd311f2c093f8f5727b93e40a512330 (patch)
tree090adaf0dbea28886748ec578b3ce255764a9431
parent3b757f07982b38b7a550c10ca37c9d173d450cac (diff)
downloadbusybox-c418f48d8dd311f2c093f8f5727b93e40a512330.tar.gz
fsck: use printf for message, not bb_info_msg
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--e2fsprogs/fsck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 8d89179e3..987d97528 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -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)");
}