diff options
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 4d7b6a9..34f4c36 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -101,6 +101,10 @@ long tk_rawcc; time_t time_second; +struct timeval boottime; +SYSCTL_STRUCT(_kern, KERN_BOOTTIME, boottime, CTLFLAG_RD, + &boottime, timeval, "System boottime"); + /* * Which update policy to use. * 0 - every tick, bad hardware may fail with "calcru negative..." |