diff options
author | Sami Kerola | 2014-09-14 20:07:44 +0200 |
---|---|---|
committer | Sami Kerola | 2014-09-19 20:31:03 +0200 |
commit | 453fc7165d4f27276f626efc6f70682b41284705 (patch) | |
tree | 1e8b97f0d9d0c32261f0717fceca35d6937913c2 /login-utils/newgrp.c | |
parent | newgrp: avoid use of obsolete getpass() function (diff) | |
download | kernel-qcow2-util-linux-453fc7165d4f27276f626efc6f70682b41284705.tar.gz kernel-qcow2-util-linux-453fc7165d4f27276f626efc6f70682b41284705.tar.xz kernel-qcow2-util-linux-453fc7165d4f27276f626efc6f70682b41284705.zip |
textual: share crypt() error message in sulogin and newgrp
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/newgrp.c')
-rw-r--r-- | login-utils/newgrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c index 240c359ac..9c0f8f581 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; } |