Commit c6fd1dc4 authored by Karl Heuer's avatar Karl Heuer
Browse files

(get_boot_time): Handle NO_WTMP_FILE.

parent d9db7b7b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment