From 9e127e2723f2072a4a2c239a2e7de2150f9e4d43 Mon Sep 17 00:00:00 2001 From: mouring Date: Fri, 26 Oct 2001 15:56:55 +0000 Subject: [PATCH] - (bal) Set the correct current time in login_utmp_only(). Patch by Wayne Davison --- ChangeLog | 4 ++++ loginrec.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index e140edfc..cd5403e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20011026 + - (bal) Set the correct current time in login_utmp_only(). Patch by + Wayne Davison + 20011025 - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch by todd@ diff --git a/loginrec.c b/loginrec.c index 5e9f96fb..96785fbd 100644 --- a/loginrec.c +++ b/loginrec.c @@ -448,6 +448,7 @@ int login_utmp_only(struct logininfo *li) { li->type = LTYPE_LOGIN; + login_set_current_time(li); # ifdef USE_UTMP utmp_write_entry(li); # endif -- 2.45.2