[loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.net
diff --git a/ChangeLog b/ChangeLog
index cf076c3..cf7c387 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
    Based on patch from nalin@redhat.com of code extracted from Owl's package
  - (tim) [ssh_prng_cmds.in] Bug 323 arp -n flag doesn't exist under Solaris.
    report by chris@by-design.net
+ - (tim) [loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.net
 
 20020712
  - (tim) [Makefile.in] quiet down install-files: and check-user:
@@ -1358,4 +1359,4 @@
  - (stevesk) entropy.c: typo in debug message
  - (djm) ssh-keygen -i needs seeded RNG; report from markus@
 
-$Id: ChangeLog,v 1.2364 2002/07/14 21:43:57 tim Exp $
+$Id: ChangeLog,v 1.2365 2002/07/14 22:33:20 tim Exp $
diff --git a/loginrec.c b/loginrec.c
index 609e847..382141b 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -163,7 +163,7 @@
 #include "log.h"
 #include "atomicio.h"
 
-RCSID("$Id: loginrec.c,v 1.40 2002/04/23 13:09:19 djm Exp $");
+RCSID("$Id: loginrec.c,v 1.41 2002/07/14 22:33:20 tim Exp $");
 
 #ifdef HAVE_UTIL_H
 #  include <util.h>
@@ -1249,7 +1249,7 @@
 	}
 	if (fstat(fd, &st) != 0) {
 		log("wtmpx_get_entry: couldn't stat %s: %s",
-		    WTMP_FILE, strerror(errno));
+		    WTMPX_FILE, strerror(errno));
 		close(fd);
 		return 0;
 	}