changeset 24704:c5be96c5a5c1

(get_boot_time): Handle NO_WTMP_FILE.
author Karl Heuer <kwzh@gnu.org>
date Sun, 09 May 1999 17:57:03 +0000
parents af2906590846
children af1bca0bf79b
files src/filelock.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Sun May 09 17:56:43 1999 +0000
+++ b/src/filelock.c	Sun May 09 17:57:03 1999 +0000
@@ -165,7 +165,7 @@
   }
 #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);