summaryrefslogtreecommitdiff
path: root/openbsd-compat/xcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/xcrypt.c')
-rw-r--r--openbsd-compat/xcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c
index 167a23513..ec28b7ccb 100644
--- a/openbsd-compat/xcrypt.c
+++ b/openbsd-compat/xcrypt.c
@@ -96,7 +96,7 @@ shadow_pw(struct passwd *pw)
96{ 96{
97 char *pw_password = pw->pw_passwd; 97 char *pw_password = pw->pw_passwd;
98 98
99# if defined(HAVE_SHADOW_H) && !defined(DISABLED_SHADOW) 99# if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW)
100 struct spwd *spw = getspnam(pw->pw_name); 100 struct spwd *spw = getspnam(pw->pw_name);
101 101
102 if (spw != NULL) 102 if (spw != NULL)