summaryrefslogtreecommitdiffstats
path: root/login-utils/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/su.c')
-rw-r--r--login-utils/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/su.c b/login-utils/su.c
index 0868f615b..35a6b21fb 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);