diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | loginrec.c | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -6,6 +6,7 @@ | |||
6 | Based on patch from nalin@redhat.com of code extracted from Owl's package | 6 | Based on patch from nalin@redhat.com of code extracted from Owl's package |
7 | - (tim) [ssh_prng_cmds.in] Bug 323 arp -n flag doesn't exist under Solaris. | 7 | - (tim) [ssh_prng_cmds.in] Bug 323 arp -n flag doesn't exist under Solaris. |
8 | report by chris@by-design.net | 8 | report by chris@by-design.net |
9 | - (tim) [loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.net | ||
9 | 10 | ||
10 | 20020712 | 11 | 20020712 |
11 | - (tim) [Makefile.in] quiet down install-files: and check-user: | 12 | - (tim) [Makefile.in] quiet down install-files: and check-user: |
@@ -1358,4 +1359,4 @@ | |||
1358 | - (stevesk) entropy.c: typo in debug message | 1359 | - (stevesk) entropy.c: typo in debug message |
1359 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 1360 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
1360 | 1361 | ||
1361 | $Id: ChangeLog,v 1.2364 2002/07/14 21:43:57 tim Exp $ | 1362 | $Id: ChangeLog,v 1.2365 2002/07/14 22:33:20 tim Exp $ |
diff --git a/loginrec.c b/loginrec.c index 609e84768..382141b9a 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.40 2002/04/23 13:09:19 djm Exp $"); | 166 | RCSID("$Id: loginrec.c,v 1.41 2002/07/14 22:33:20 tim Exp $"); |
167 | 167 | ||
168 | #ifdef HAVE_UTIL_H | 168 | #ifdef HAVE_UTIL_H |
169 | # include <util.h> | 169 | # include <util.h> |
@@ -1249,7 +1249,7 @@ wtmpx_get_entry(struct logininfo *li) | |||
1249 | } | 1249 | } |
1250 | if (fstat(fd, &st) != 0) { | 1250 | if (fstat(fd, &st) != 0) { |
1251 | log("wtmpx_get_entry: couldn't stat %s: %s", | 1251 | log("wtmpx_get_entry: couldn't stat %s: %s", |
1252 | WTMP_FILE, strerror(errno)); | 1252 | WTMPX_FILE, strerror(errno)); |
1253 | close(fd); | 1253 | close(fd); |
1254 | return 0; | 1254 | return 0; |
1255 | } | 1255 | } |