mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-14 06:45:30 -04:00
16 lines
456 B
Plaintext
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"
|