diff src/filelock.c @ 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 e5b719c6fd51
children 0e99bc70cf07
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);