0b5468d9dc

- An argument of struct timeval *tv passed by todr_gettime(9) is used for a return value and it doesn't contain valid data. Don't read it. - Instead, use getmicrotime(9) to get a "reasonable" (i.e. current) time to see expected year value (which is not kept by this device). - If current time is not valid, assume this is the first todr_gettime(9) call from inittodr(9) and use file system time for the "reasonable" year. Fixes silent hangup after mountroot() on sun2. XXX: MI todr(9) functions seem to get mangled around year ~22000.
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%