aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
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 ()
165 } 165 }
166#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ 166#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */
167 167
168#ifdef BOOT_TIME 168#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE)
169 /* Try to get boot time from the current wtmp file. */ 169 /* Try to get boot time from the current wtmp file. */
170 get_boot_time_1 (WTMP_FILE); 170 get_boot_time_1 (WTMP_FILE);
171 171