Replace a few more bb_info_msg's by bb_error_msg or printf
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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)
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user