diff options
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginrec.c b/loginrec.c index bdac3e959..ce9e26fc5 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -158,7 +158,7 @@ | |||
158 | #include "log.h" | 158 | #include "log.h" |
159 | #include "atomicio.h" | 159 | #include "atomicio.h" |
160 | 160 | ||
161 | RCSID("$Id: loginrec.c,v 1.52 2003/07/06 05:20:46 dtucker Exp $"); | 161 | RCSID("$Id: loginrec.c,v 1.53 2003/11/21 12:48:55 djm Exp $"); |
162 | 162 | ||
163 | #ifdef HAVE_UTIL_H | 163 | #ifdef HAVE_UTIL_H |
164 | # include <util.h> | 164 | # include <util.h> |
@@ -442,7 +442,7 @@ login_write (struct logininfo *li) | |||
442 | int | 442 | int |
443 | login_utmp_only(struct logininfo *li) | 443 | login_utmp_only(struct logininfo *li) |
444 | { | 444 | { |
445 | li->type = LTYPE_LOGIN; | 445 | li->type = LTYPE_LOGIN; |
446 | login_set_current_time(li); | 446 | login_set_current_time(li); |
447 | # ifdef USE_UTMP | 447 | # ifdef USE_UTMP |
448 | utmp_write_entry(li); | 448 | utmp_write_entry(li); |
@@ -1534,7 +1534,7 @@ lastlog_get_entry(struct logininfo *li) | |||
1534 | lastlog_populate_entry(li, &last); | 1534 | lastlog_populate_entry(li, &last); |
1535 | return (1); | 1535 | return (1); |
1536 | case -1: | 1536 | case -1: |
1537 | error("%s: Error reading from %s: %s", __func__, | 1537 | error("%s: Error reading from %s: %s", __func__, |
1538 | LASTLOG_FILE, strerror(errno)); | 1538 | LASTLOG_FILE, strerror(errno)); |
1539 | return (0); | 1539 | return (0); |
1540 | default: | 1540 | default: |