diff options
author | Denis Vlasenko | 2006-09-06 19:02:46 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-06 19:02:46 +0000 |
commit | 6d655be5df5a559253a3769f294a6255535ad3fd (patch) | |
tree | 4342fd4f88b84459ef5c2c2c2c6fb86863a7112f /loginutils/sulogin.c | |
parent | 3538b9a8822421b7c8596a33a917dcf2f99c92b7 (diff) | |
download | busybox-6d655be5df5a559253a3769f294a6255535ad3fd.zip busybox-6d655be5df5a559253a3769f294a6255535ad3fd.tar.gz |
removed a lot of trailing \n in bb_msg() calls. It is added
automatically by function itself.
Diffstat (limited to 'loginutils/sulogin.c')
-rw-r--r-- | loginutils/sulogin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index b7e3f6f..1c49d32 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c @@ -99,7 +99,7 @@ int sulogin_main(int argc, char **argv) } if (access(bb_path_passwd_file, 0) == -1) { syslog(LOG_WARNING, "No password file\n"); - bb_error_msg_and_die("No password file\n"); + bb_error_msg_and_die("No password file"); } if (!isatty(0) || !isatty(1) || !isatty(2)) { exit(EXIT_FAILURE); @@ -113,8 +113,8 @@ int sulogin_main(int argc, char **argv) signal(SIGALRM, catchalarm); if (!(pwd = getpwnam(name))) { - syslog(LOG_WARNING, "No password entry for `root'\n"); - bb_error_msg_and_die("No password entry for `root'\n"); + syslog(LOG_WARNING, "No password entry for `root'"); + bb_error_msg_and_die("No password entry for `root'"); } pwent = *pwd; #if ENABLE_FEATURE_SHADOWPASSWDS |