diff options
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginrec.c b/loginrec.c index 587d55f7d..32941c985 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -469,9 +469,9 @@ login_write(struct logininfo *li) | |||
469 | #endif | 469 | #endif |
470 | #ifdef SSH_AUDIT_EVENTS | 470 | #ifdef SSH_AUDIT_EVENTS |
471 | if (li->type == LTYPE_LOGIN) | 471 | if (li->type == LTYPE_LOGIN) |
472 | audit_session_open(li->line); | 472 | audit_session_open(li); |
473 | else if (li->type == LTYPE_LOGOUT) | 473 | else if (li->type == LTYPE_LOGOUT) |
474 | audit_session_close(li->line); | 474 | audit_session_close(li); |
475 | #endif | 475 | #endif |
476 | return (0); | 476 | return (0); |
477 | } | 477 | } |