diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |