2013-09-26 17:14:40 +02:00

16 lines
456 B
Plaintext

$NetBSD: patch-ab,v 1.1 2004/05/26 15:04:32 wiz Exp $
--- chklastlog.c.orig 2003-12-26 19:30:12.000000000 +0100
+++ chklastlog.c
@@ -57,6 +57,10 @@
#define WTMP_FILENAME "/var/log/wtmp"
#define LASTLOG_FILENAME "/var/log/lastlog"
#endif
+#ifdef __NetBSD__
+#define WTMP_FILENAME "/var/log/wtmp"
+#define LASTLOG_FILENAME "/var/log/lastlog"
+#endif
#ifdef __OpenBSD__
#define WTMP_FILENAME "/var/log/wtmp"
#define LASTLOG_FILENAME "/var/log/lastlog"