alpha: Fix uninitialized value in read_persistent_clock.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Richard Henderson 2011-04-17 13:05:26 -07:00 committed by Linus Torvalds
parent 6181318897
commit a78eda5cd3

View File

@ -153,6 +153,7 @@ void read_persistent_clock(struct timespec *ts)
year += 100; year += 100;
ts->tv_sec = mktime(year, mon, day, hour, min, sec); ts->tv_sec = mktime(year, mon, day, hour, min, sec);
ts->tv_nsec = 0;
} }