diff options
Diffstat (limited to 'loginutils/su.c')
-rw-r--r-- | loginutils/su.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/su.c b/loginutils/su.c index 41291ea8f..7c1fc69c5 100644 --- a/loginutils/su.c +++ b/loginutils/su.c @@ -147,7 +147,7 @@ int su_main(int argc UNUSED_PARAM, char **argv) syslog(LOG_NOTICE, "%c %s %s:%s", '-', tty, old_user, opt_username); bb_do_delay(LOGIN_FAIL_DELAY); - bb_error_msg_and_die("incorrect password"); + bb_simple_error_msg_and_die("incorrect password"); } if (ENABLE_FEATURE_CLEAN_UP && ENABLE_FEATURE_SU_SYSLOG) { @@ -165,7 +165,7 @@ int su_main(int argc UNUSED_PARAM, char **argv) * probably a uucp account or has restricted access. Don't * compromise the account by allowing access with a standard * shell. */ - bb_error_msg("using restricted shell"); + bb_simple_error_msg("using restricted shell"); opt_shell = NULL; /* ignore -s PROG */ } /* else: user can run whatever he wants via "su -s PROG USER". |