diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | loginrec.c | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20011026 | ||
2 | - (bal) Set the correct current time in login_utmp_only(). Patch by | ||
3 | Wayne Davison <wayned@users.sourceforge.net> | ||
4 | |||
1 | 20011025 | 5 | 20011025 |
2 | - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch | 6 | - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch |
3 | by todd@ | 7 | by todd@ |
@@ -6763,4 +6767,4 @@ | |||
6763 | - Wrote replacements for strlcpy and mkdtemp | 6767 | - Wrote replacements for strlcpy and mkdtemp |
6764 | - Released 1.0pre1 | 6768 | - Released 1.0pre1 |
6765 | 6769 | ||
6766 | $Id: ChangeLog,v 1.1618 2001/10/25 17:01:30 tim Exp $ | 6770 | $Id: ChangeLog,v 1.1619 2001/10/26 15:56:55 mouring Exp $ |
diff --git a/loginrec.c b/loginrec.c index 8d0b3b81f..4e4d2fa16 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -163,7 +163,7 @@ | |||
163 | #include "log.h" | 163 | #include "log.h" |
164 | #include "atomicio.h" | 164 | #include "atomicio.h" |
165 | 165 | ||
166 | RCSID("$Id: loginrec.c,v 1.36 2001/10/22 06:49:23 djm Exp $"); | 166 | RCSID("$Id: loginrec.c,v 1.37 2001/10/26 15:56:56 mouring Exp $"); |
167 | 167 | ||
168 | #ifdef HAVE_UTIL_H | 168 | #ifdef HAVE_UTIL_H |
169 | # include <util.h> | 169 | # include <util.h> |
@@ -448,6 +448,7 @@ int | |||
448 | login_utmp_only(struct logininfo *li) | 448 | login_utmp_only(struct logininfo *li) |
449 | { | 449 | { |
450 | li->type = LTYPE_LOGIN; | 450 | li->type = LTYPE_LOGIN; |
451 | login_set_current_time(li); | ||
451 | # ifdef USE_UTMP | 452 | # ifdef USE_UTMP |
452 | utmp_write_entry(li); | 453 | utmp_write_entry(li); |
453 | # endif | 454 | # endif |