textual: share crypt() error message in sulogin and newgrp

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2014-09-14 19:07:44 +01:00
parent 8f663a674d
commit 453fc7165d
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ static int allow_setgid(struct passwd *pe, struct group *ge)
memset_s(xpwd, strlen(xpwd), 0);
free(xpwd);
if (!cbuf)
warn(_("crypt() failed"));
warn(_("crypt failed"));
else if (strcmp(pwd, cbuf) == 0)
return TRUE;
}