summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-04-26 10:35:06 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-04-26 10:35:06 +0000
commit475b18b6800f10292c1c17c5d041a62c922a4497 (patch)
tree043a3a22a59573dea290dab5203652ab18860af4 /sys/dev/wscons
parentaca69f099f7aede18763fc486641b16058601bb9 (diff)
Sanitize inittodr()/resettodr() implementation.
- move implementations next to eachother in the same file - remove pointless call to resettodr() in inittodr() - use OpenBSD define to get a minimum plausible time - if RTC time is before minimum plausible time, reject it - don't print "clock gained N days" on ramdisk Hopefully this implementation can serve as a model for unification into an MI implementation. ok mpi@
Diffstat (limited to 'sys/dev/wscons')
0 files changed, 0 insertions, 0 deletions