[git commit] fsck: use printf for message, not bb_info_msg
Denys Vlasenko
vda.linux at googlemail.com
Wed Mar 30 14:30:24 UTC 2016
commit: https://git.busybox.net/busybox/commit/?id=c418f48d8dd311f2c093f8f5727b93e40a512330
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
e2fsprogs/fsck.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 8d89179..987d975 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)");
}
More information about the busybox-cvs
mailing list