summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko2016-03-30 16:20:28 +0200
committerDenys Vlasenko2016-03-30 16:20:28 +0200
commit066e76befe5d39fc3451846af94cbba96747186c (patch)
treef809b807a88c8a281c3cb02c7df2ab4c83b902cb /loginutils
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 'loginutils')
-rw-r--r--loginutils/chpasswd.c2
-rw-r--r--loginutils/passwd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c
index a022a42..2d268be 100644
--- a/loginutils/chpasswd.c
+++ b/loginutils/chpasswd.c
@@ -105,7 +105,7 @@ int chpasswd_main(int argc UNUSED_PARAM, char **argv)
if (rc < 0)
bb_error_msg_and_die("an error occurred updating password for %s", name);
if (rc)
- bb_info_msg("Password for '%s' changed", name);
+ bb_error_msg("password for '%s' changed", name);
logmode = LOGMODE_STDIO;
free(name);
free(free_me);
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 73726d3..52b66ca 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -230,7 +230,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv)
/* LOGMODE_BOTH */
if (rc < 0)
bb_error_msg_and_die("can't update password file %s", filename);
- bb_info_msg("Password for %s changed by %s", name, myname);
+ bb_error_msg("password for %s changed by %s", name, myname);
/*if (ENABLE_FEATURE_CLEAN_UP) free(newp); - can't, it may be non-malloced */
skip: