# HG changeset patch # User Karl Heuer # Date 926272623 0 # Node ID c5be96c5a5c139f657c63bcd40036434d274ddb7 # Parent af29065908468a847c427fc0b42184d52fcef5ee (get_boot_time): Handle NO_WTMP_FILE. diff -r af2906590846 -r c5be96c5a5c1 src/filelock.c --- 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);