summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/responder/pam/pamsrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c
index dfe67cdf..db59279c 100644
--- a/server/responder/pam/pamsrv_cmd.c
+++ b/server/responder/pam/pamsrv_cmd.c
@@ -376,7 +376,7 @@ static void set_last_login_done(struct tevent_req *subreq)
struct tevent_req);
int ret;
- ret = sysdb_transaction_commit_recv(req);
+ ret = sysdb_transaction_commit_recv(subreq);
if (ret != EOK) {
DEBUG(2, ("set_last_login failed.\n"));
tevent_req_error(req, ret);