summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/krb5/krb5_wait_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_wait_queue.c b/src/providers/krb5/krb5_wait_queue.c
index 126209620..b4d3f903a 100644
--- a/src/providers/krb5/krb5_wait_queue.c
+++ b/src/providers/krb5/krb5_wait_queue.c
@@ -366,7 +366,7 @@ int krb5_auth_queue_recv(struct tevent_req *req,
}
if (_dp_err) {
- *_dp_err = state->pam_status;
+ *_dp_err = state->dp_err;
}
TEVENT_REQ_RETURN_ON_ERROR(req);