diff options
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/login.c | 2 | ||||
-rw-r--r-- | loginutils/passwd.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 1ffa965..7a6f246 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 1164ff4..c1481c6 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); |