From 066e76befe5d39fc3451846af94cbba96747186c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 30 Mar 2016 16:20:28 +0200 Subject: Replace a few more bb_info_msg's by bb_error_msg or printf Signed-off-by: Denys Vlasenko --- miscutils/devfsd.c | 2 +- miscutils/flash_eraseall.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'miscutils') 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) { -- cgit v1.1