aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /loginutils
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
-rw-r--r--loginutils/passwd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 1ffa965c2..7a6f246ad 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -175,7 +175,7 @@ static void initselinux(char *username, char *full_tty,
175 return; 175 return;
176 176
177 if (get_default_context(username, NULL, user_sid)) { 177 if (get_default_context(username, NULL, user_sid)) {
178 bb_error_msg_and_die("cannot get SID for %s", username); 178 bb_error_msg_and_die("can't get SID for %s", username);
179 } 179 }
180 if (getfilecon(full_tty, &old_tty_sid) < 0) { 180 if (getfilecon(full_tty, &old_tty_sid) < 0) {
181 bb_perror_msg_and_die("getfilecon(%s) failed", full_tty); 181 bb_perror_msg_and_die("getfilecon(%s) failed", full_tty);
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 1164ff4f9..c1481c65e 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -146,7 +146,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv)
146 if (!(opt & OPT_lud)) { 146 if (!(opt & OPT_lud)) {
147 if (myuid && !c) { /* passwd starts with '!' */ 147 if (myuid && !c) { /* passwd starts with '!' */
148 /* LOGMODE_BOTH */ 148 /* LOGMODE_BOTH */
149 bb_error_msg_and_die("cannot change " 149 bb_error_msg_and_die("can't change "
150 "locked password for %s", name); 150 "locked password for %s", name);
151 } 151 }
152 printf("Changing password for %s\n", name); 152 printf("Changing password for %s\n", name);
@@ -189,7 +189,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv)
189 } 189 }
190 /* LOGMODE_BOTH */ 190 /* LOGMODE_BOTH */
191 if (rc < 0) 191 if (rc < 0)
192 bb_error_msg_and_die("cannot update password file %s", 192 bb_error_msg_and_die("can't update password file %s",
193 filename); 193 filename);
194 bb_info_msg("Password for %s changed by %s", name, myname); 194 bb_info_msg("Password for %s changed by %s", name, myname);
195 195