cvs commit: src/sys/i386/isa clock.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Apr 4 00:01:16 PST 2004
dillon 2004/04/04 00:00:06 PST
DragonFly src repository
Modified files:
sys/i386/isa clock.c
Log:
Setting the date/time does not always properly write-back the RTC, causing
the date/time to be wrong again after a reboot. This was due to the recent
systimer changes which updated the 'time_second' global via hardclock() only.
Change the writeback code to use microtime() instead of time_second.
Reported-by: esmith <esmith at xxxxxxxxxxxx>
Revision Changes Path
1.14 +6 -3 src/sys/i386/isa/clock.c
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/clock.c.diff?r1=1.13&r2=1.14&f=h
More information about the Commits
mailing list