]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r284931
authorbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Jul 2015 11:59:28 +0000 (11:59 +0000)
committerbrueffer <brueffer@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Jul 2015 11:59:28 +0000 (11:59 +0000)
commit5817107d2d99b5fbfff1fbed653817f783d65922
tree2fe129a8366adfda320a945e409c43cd7c69a3b9
parente83fb14e4759537ba8c70c42d1020d067dce3cb5
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

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