diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-06 19:02:46 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-06 19:02:46 +0000 |
commit | 6d655be5df5a559253a3769f294a6255535ad3fd (patch) | |
tree | 4342fd4f88b84459ef5c2c2c2c6fb86863a7112f /loginutils/sulogin.c | |
parent | 3538b9a8822421b7c8596a33a917dcf2f99c92b7 (diff) | |
download | busybox-w32-6d655be5df5a559253a3769f294a6255535ad3fd.tar.gz busybox-w32-6d655be5df5a559253a3769f294a6255535ad3fd.tar.bz2 busybox-w32-6d655be5df5a559253a3769f294a6255535ad3fd.zip |
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 b7e3f6fbf..1c49d324d 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c | |||
@@ -99,7 +99,7 @@ int sulogin_main(int argc, char **argv) | |||
99 | } | 99 | } |
100 | if (access(bb_path_passwd_file, 0) == -1) { | 100 | if (access(bb_path_passwd_file, 0) == -1) { |
101 | syslog(LOG_WARNING, "No password file\n"); | 101 | syslog(LOG_WARNING, "No password file\n"); |
102 | bb_error_msg_and_die("No password file\n"); | 102 | bb_error_msg_and_die("No password file"); |
103 | } | 103 | } |
104 | if (!isatty(0) || !isatty(1) || !isatty(2)) { | 104 | if (!isatty(0) || !isatty(1) || !isatty(2)) { |
105 | exit(EXIT_FAILURE); | 105 | exit(EXIT_FAILURE); |
@@ -113,8 +113,8 @@ int sulogin_main(int argc, char **argv) | |||
113 | 113 | ||
114 | signal(SIGALRM, catchalarm); | 114 | signal(SIGALRM, catchalarm); |
115 | if (!(pwd = getpwnam(name))) { | 115 | if (!(pwd = getpwnam(name))) { |
116 | syslog(LOG_WARNING, "No password entry for `root'\n"); | 116 | syslog(LOG_WARNING, "No password entry for `root'"); |
117 | bb_error_msg_and_die("No password entry for `root'\n"); | 117 | bb_error_msg_and_die("No password entry for `root'"); |
118 | } | 118 | } |
119 | pwent = *pwd; | 119 | pwent = *pwd; |
120 | #if ENABLE_FEATURE_SHADOWPASSWDS | 120 | #if ENABLE_FEATURE_SHADOWPASSWDS |