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: v2.22-rc1~347^2~10^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c19ad6f042099acb4c51f18ff7924fe3a6fab77;p=thirdparty%2Futil-linux.git (correct_password): Correct HAVE_STRUCT_* name in #if guard to go along with corrected autoconf test: Reported by G Queri. --- diff --git a/login-utils/su.c b/login-utils/su.c index 0868f615b7..35a6b21fbe 100644 --- a/login-utils/su.c +++ b/login-utils/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);