diff options
Diffstat (limited to 'sys/i386/isa/pcvt/pcvt_sup.c')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_sup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_sup.c b/sys/i386/isa/pcvt/pcvt_sup.c index 24144e1..3b00191 100644 --- a/sys/i386/isa/pcvt/pcvt_sup.c +++ b/sys/i386/isa/pcvt/pcvt_sup.c @@ -1923,7 +1923,7 @@ getrand(void) #endif static unsigned long seed = 1; register u_short res = (u_short)seed; - seed = seed * 1103515245L + time.tv_sec; + seed = seed * 1103515245L + time_second; return res; } @@ -2082,9 +2082,9 @@ pcvt_scrnsv_reset(void) int reschedule = 0; if((scrnsv_active == 1 || scrnsv_timeout) && - last_schedule != time.tv_sec) + last_schedule != time_second) { - last_schedule = time.tv_sec; + last_schedule = time_second; reschedule = 1; untimeout(scrnsv_timedout, NULL, scrnsv_timeout_ch); } |