summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-09 11:57:01 +0000
committerJim Meyering <jim@meyering.net>2000-02-09 11:57:01 +0000
commitd6181296ddb2d529b0247ffdca45c9103bb68c98 (patch)
tree4e6b16ebc488d609cc8f2c3c7a57028b5def198c /src/su.c
parente2cc35f08622f13b55ba9779f7b72a77b2f57630 (diff)
downloadcoreutils-d6181296ddb2d529b0247ffdca45c9103bb68c98.tar.xz
(correct_password): Correct HAVE_STRUCT_* name in #if guard
to go along with corrected autoconf test: Reported by G Queri.
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/su.c b/src/su.c
index 0868f615b..35a6b21fb 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);