mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-06 15:49:06 -04:00
(correct_password): Correct HAVE_STRUCT_* name in #if guard
to go along with corrected autoconf test: Reported by G Queri.
This commit is contained in:
@@ -275,7 +275,7 @@ static int
|
||||
correct_password (const struct passwd *pw)
|
||||
{
|
||||
char *unencrypted, *encrypted, *correct;
|
||||
#if HAVE_GETSPNAM && HAVE_STRUCT_PASSWD_SP_PWDP
|
||||
#if HAVE_GETSPNAM && HAVE_STRUCT_SPWD_SP_PWDP
|
||||
/* Shadow passwd stuff for SVR3 and maybe other systems. */
|
||||
struct spwd *sp = getspnam (pw->pw_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user