summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-02-24 17:56:46 -0800
committerTim Rice <tim@multitalents.net>2002-02-24 17:56:46 -0800
commite06ae4a4bcdb637911a1be6657e2dfa592fd49c8 (patch)
tree9fd84793e5f04aa2734d98855d216a6bc10f4c8c /session.c
parent839ac4f8aaf044e87539d65969163e11f4114461 (diff)
[loginrec.c session.c sshlogin.c sshlogin.h] Bug 84
patch by wknox@mitre.org (William Knox). [sshlogin.h] declare record_utmp_only for session.c
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 be6843ab..bf1a3ecf 100644
--- a/session.c
+++ b/session.c
@@ -1677,7 +1677,7 @@ session_pty_cleanup(void *session)
/* Record that the user has logged out. */
if (s->pid != 0)
- record_logout(s->pid, s->tty);
+ record_logout(s->pid, s->tty, s->pw->pw_name);
/* Release the pseudo-tty. */
pty_release(s->tty);