- (bal) Set the correct current time in login_utmp_only().  Patch by
   Wayne Davison <wayned@users.sourceforge.net>
diff --git a/ChangeLog b/ChangeLog
index c14f7d8..788571d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20011026
+ - (bal) Set the correct current time in login_utmp_only().  Patch by
+   Wayne Davison <wayned@users.sourceforge.net>
+
 20011025
  - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c.  Patch
    by todd@
@@ -6763,4 +6767,4 @@
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.1618 2001/10/25 17:01:30 tim Exp $
+$Id: ChangeLog,v 1.1619 2001/10/26 15:56:55 mouring Exp $
diff --git a/loginrec.c b/loginrec.c
index 8d0b3b8..4e4d2fa 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -163,7 +163,7 @@
 #include "log.h"
 #include "atomicio.h"
 
-RCSID("$Id: loginrec.c,v 1.36 2001/10/22 06:49:23 djm Exp $");
+RCSID("$Id: loginrec.c,v 1.37 2001/10/26 15:56:56 mouring Exp $");
 
 #ifdef HAVE_UTIL_H
 #  include <util.h>
@@ -448,6 +448,7 @@
 login_utmp_only(struct logininfo *li)
 {
 	li->type = LTYPE_LOGIN; 
+	login_set_current_time(li);
 # ifdef USE_UTMP
 	utmp_write_entry(li);
 # endif