summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index be6843ab1..bf1a3ecf7 100644
--- a/session.c
+++ b/session.c
@@ -1677,7 +1677,7 @@ session_pty_cleanup(void *session)
1677 1677
1678 /* Record that the user has logged out. */ 1678 /* Record that the user has logged out. */
1679 if (s->pid != 0) 1679 if (s->pid != 0)
1680 record_logout(s->pid, s->tty); 1680 record_logout(s->pid, s->tty, s->pw->pw_name);
1681 1681
1682 /* Release the pseudo-tty. */ 1682 /* Release the pseudo-tty. */
1683 pty_release(s->tty); 1683 pty_release(s->tty);