diff options
author | Bruce Evans <bde@FreeBSD.org> | 1999-09-13 14:22:27 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1999-09-13 14:22:27 +0000 |
commit | 37d3877723378b4d96a0ade97dddf7ee45c03d0c (patch) | |
tree | fc5f100f5f319b40fb931302494e1c06a1f421a2 /sys/kern/kern_tc.c | |
parent | 34d32cd34083b7fc47ee0ec22b32584d3a829b64 (diff) | |
download | src-37d3877723378b4d96a0ade97dddf7ee45c03d0c.tar.gz src-37d3877723378b4d96a0ade97dddf7ee45c03d0c.zip |
Moved the definition of `boottime' and its sysctl to the correct file.
Notes
Notes:
svn path=/head/; revision=51229
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r-- | sys/kern/kern_tc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 4d7b6a94e46c..34f4c362ceb9 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.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..." |