Save a few bytes in error message.

This commit is contained in:
Rob Landley 2006-02-05 03:31:44 +00:00
parent a421ba8203
commit bec26527a1

View File

@ -163,7 +163,7 @@ password_check(const char *old, const char *newval, const struct passwd *pwdp)
msg = "too similiar";
else if ( strstr(newval, pwdp->pw_name) )
msg = "don't use something like your username as password";
msg = "username in password";
else {
safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1);