From c6fd1dc43d2bca6e3ec8f8eedac752c9334b4c19 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 9 May 1999 17:57:03 +0000 Subject: [PATCH] (get_boot_time): Handle NO_WTMP_FILE. --- src/filelock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelock.c b/src/filelock.c index 3b65d127de9..d441d235770 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -165,7 +165,7 @@ get_boot_time () } #endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ -#ifdef BOOT_TIME +#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE) /* Try to get boot time from the current wtmp file. */ get_boot_time_1 (WTMP_FILE); -- 2.39.2