diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-30 16:20:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-30 16:20:28 +0200 |
commit | 066e76befe5d39fc3451846af94cbba96747186c (patch) | |
tree | f809b807a88c8a281c3cb02c7df2ab4c83b902cb /miscutils | |
parent | 76b680c7a8d5a99e46ab8d9cad49aed0cfc440a7 (diff) | |
download | 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.c | 2 | ||||
-rw-r--r-- | miscutils/flash_eraseall.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 9256567cc..6217918da 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 bf9b739a1..d95d214d9 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) { |