summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-10-26 15:56:55 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-10-26 15:56:55 +0000
commit9197c59493b895972a3dc4026461c019e48d29dc (patch)
tree2d8c8dde1ea0934cfc256e61e9bb995db15f6173
parent9335669e3a804ebd50132038eae00bccba7ab43f (diff)
- (bal) Set the correct current time in login_utmp_only(). Patch by
Wayne Davison <wayned@users.sourceforge.net>
-rw-r--r--ChangeLog6
-rw-r--r--loginrec.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c14f7d81..788571d9 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 8d0b3b81..4e4d2fa1 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 @@ int
login_utmp_only(struct logininfo *li)
{
li->type = LTYPE_LOGIN;
+ login_set_current_time(li);
# ifdef USE_UTMP
utmp_write_entry(li);
# endif