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:
parent
6181318897
commit
a78eda5cd3
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ void read_persistent_clock(struct timespec *ts)
|
|||
year += 100;
|
||||
|
||||
ts->tv_sec = mktime(year, mon, day, hour, min, sec);
|
||||
ts->tv_nsec = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue