From: Jim Meyering Date: Wed, 9 Feb 2000 11:57:01 +0000 (+0000) Subject: (correct_password): Correct HAVE_STRUCT_* name in #if guard X-Git-Tag: FILEUTILS-4_0q~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6181296ddb2d529b0247ffdca45c9103bb68c98;p=thirdparty%2Fcoreutils.git (correct_password): Correct HAVE_STRUCT_* name in #if guard to go along with corrected autoconf test: Reported by G Queri. --- diff --git a/src/su.c b/src/su.c index 0868f615b7..35a6b21fbe 100644 --- a/src/su.c +++ b/src/su.c @@ -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);