summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2016-03-30 16:20:28 +0200
committerDenys Vlasenko2016-03-30 16:20:28 +0200
commit066e76befe5d39fc3451846af94cbba96747186c (patch)
treef809b807a88c8a281c3cb02c7df2ab4c83b902cb /miscutils
parent76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7 (diff)
downloadbusybox-066e76befe5d39fc3451846af94cbba96747186c.zip
busybox-066e76befe5d39fc3451846af94cbba96747186c.tar.gz
Replace a few more bb_info_msg's by bb_error_msg or printf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/devfsd.c2
-rw-r--r--miscutils/flash_eraseall.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 9256567..6217918 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -284,7 +284,7 @@ static const char bb_msg_variable_not_found[] ALIGN1 = "variable: %s not found";
/* Busybox stuff */
#if ENABLE_DEVFSD_VERBOSE || ENABLE_DEBUG
-#define info_logger(p, fmt, args...) bb_info_msg(fmt, ## args)
+#define info_logger(p, fmt, args...) bb_error_msg(fmt, ## args)
#define msg_logger(p, fmt, args...) bb_error_msg(fmt, ## args)
#define msg_logger_and_die(p, fmt, args...) bb_error_msg_and_die(fmt, ## args)
#define error_logger(p, fmt, args...) bb_perror_msg(fmt, ## args)
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c
index bf9b739..d95d214 100644
--- a/miscutils/flash_eraseall.c
+++ b/miscutils/flash_eraseall.c
@@ -147,7 +147,7 @@ int flash_eraseall_main(int argc UNUSED_PARAM, char **argv)
ret = ioctl(fd, MEMGETBADBLOCK, &offset);
if (ret > 0) {
if (!(flags & OPTION_Q))
- bb_info_msg("\nSkipping bad block at 0x%08x", erase.start);
+ printf("\nSkipping bad block at 0x%08x\n", erase.start);
continue;
}
if (ret < 0) {