From: Sami Kerola Date: Sun, 14 Sep 2014 18:07:44 +0000 (+0100) Subject: textual: share crypt() error message in sulogin and newgrp X-Git-Tag: v2.26-rc1~447^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=453fc7165d4f27276f626efc6f70682b41284705;p=thirdparty%2Futil-linux.git textual: share crypt() error message in sulogin and newgrp Signed-off-by: Sami Kerola --- diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c index 240c359ac1..9c0f8f5810 100644 --- a/login-utils/newgrp.c +++ b/login-utils/newgrp.c @@ -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; }