summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth1.c b/auth1.c
index 8553bfa2..4f33fa87 100644
--- a/auth1.c
+++ b/auth1.c
@@ -389,7 +389,7 @@ do_authentication(void)
use_privsep ? " [net]" : "");
#ifdef USE_PAM
- start_pam(pw == NULL ? "NOUSER" : user);
+ start_pam(authctxt->pw == NULL ? "NOUSER" : user);
#endif
/*