summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-18 22:04:09 +0000
committerDenis Vlasenko2006-11-18 22:04:09 +0000
commit89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch)
treefc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /loginutils
parent61126ab30a90b74e45a79ccb97074ab71afa6054 (diff)
downloadbusybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip
busybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz
rodata cleanup. "unable to" == "cannot". -300 bytes
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 2ad52c6..263a5a0 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -260,11 +260,11 @@ int login_main(int argc, char **argv)
USE_FEATURE_UTMP(
safe_strncpy(utent.ut_host, opt_host, sizeof(utent.ut_host));
)
- snprintf(fromhost, sizeof(fromhost)-1, " on `%.100s' from "
- "`%.200s'", short_tty, opt_host);
+ snprintf(fromhost, sizeof(fromhost)-1, " on '%.100s' from "
+ "'%.200s'", short_tty, opt_host);
}
else
- snprintf(fromhost, sizeof(fromhost)-1, " on `%.100s'", short_tty);
+ snprintf(fromhost, sizeof(fromhost)-1, " on '%.100s'", short_tty);
bb_setpgrp;
@@ -302,7 +302,7 @@ auth_failed:
bb_do_delay(FAIL_DELAY);
puts("Login incorrect");
if (++count == 3) {
- syslog(LOG_WARNING, "invalid password for `%s'%s",
+ syslog(LOG_WARNING, "invalid password for '%s'%s",
username, fromhost);
return EXIT_FAILURE;
}
@@ -319,7 +319,7 @@ auth_failed:
security_context_t old_tty_sid, new_tty_sid;
if (get_default_context(username, NULL, &user_sid)) {
- bb_error_msg_and_die("unable to get SID for %s",
+ bb_error_msg_and_die("cannot get SID for %s",
username);
}
if (getfilecon(full_tty, &old_tty_sid) < 0) {