tsutsui 0b5468d9dc Don't refer garbage in stack.
- 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.
2009-12-11 11:07:04 +00:00
2009-11-09 15:49:35 +00:00
2009-12-08 21:52:05 +00:00
2009-12-08 21:54:22 +00:00
2009-12-07 10:03:37 +00:00
2009-12-09 17:30:14 +00:00
2009-12-09 18:06:08 +00:00
2009-12-11 08:52:37 +00:00
2009-12-11 11:07:04 +00:00
2009-12-08 21:52:05 +00:00
Description
No description provided
3.1 GiB
Languages
C 85.3%
Roff 7.2%
Assembly 3.1%
Shell 1.7%
Makefile 1.2%
Other 0.9%