]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r284931
authorbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Jul 2015 11:58:08 +0000 (11:58 +0000)
committerbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Jul 2015 11:58:08 +0000 (11:58 +0000)
commit976ec787f76dd702a9e7b26f5a43dadd84818f22
tree8b53ffcba178c90b16d743ea9ca5f4118de2bf38
parent72a1919bd8f477be026a746df2fcf1ebed6c235d
MFC: r284931

Set the initial system time to a sane (as in: not end of 21st century)
value when booting on a PC with CMOS clock set to a year before 2000.

This uses 1980 (instead of 1970 as in the initial patch) as pivot year as
suggested by imp in the PR followup.

PR: 195703
Submitted by: cs@soi.spb.ru
Reviewed by: imp
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@285446 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/x86/isa/atrtc.c