From 6331cf059ccfdf35f4e5a505cbae885094cc41b0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 Nov 2009 09:08:27 +0100 Subject: *: use "can't" instead of "cannot" Signed-off-by: Denys Vlasenko --- loginutils/login.c | 2 +- loginutils/passwd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'loginutils') 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, return; if (get_default_context(username, NULL, user_sid)) { - bb_error_msg_and_die("cannot get SID for %s", username); + bb_error_msg_and_die("can't get SID for %s", username); } if (getfilecon(full_tty, &old_tty_sid) < 0) { 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) if (!(opt & OPT_lud)) { if (myuid && !c) { /* passwd starts with '!' */ /* LOGMODE_BOTH */ - bb_error_msg_and_die("cannot change " + bb_error_msg_and_die("can't change " "locked password for %s", name); } printf("Changing password for %s\n", name); @@ -189,7 +189,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv) } /* LOGMODE_BOTH */ if (rc < 0) - bb_error_msg_and_die("cannot update password file %s", + bb_error_msg_and_die("can't update password file %s", filename); bb_info_msg("Password for %s changed by %s", name, myname); -- cgit v1.2.3