summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-07-14 15:33:20 -0700
committerTim Rice <tim@multitalents.net>2002-07-14 15:33:20 -0700
commitcdb82946b67dc29c6ed49fbcc7fde8c570642c6c (patch)
treefb219ce9bca3abb8a4786028f00c19337059a169
parenta091159884e4e368747883f88ab3a68b8c7e1907 (diff)
[loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.net
-rw-r--r--ChangeLog3
-rw-r--r--loginrec.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index cf076c3df..cf7c3870c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
1020020712 1120020712
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
166RCSID("$Id: loginrec.c,v 1.40 2002/04/23 13:09:19 djm Exp $"); 166RCSID("$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 }