Skip to content

Commit

Permalink
alpha: Fix uninitialized value in read_persistent_clock.
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
rth7680 authored and torvalds committed Apr 17, 2011
1 parent 6181318 commit a78eda5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/alpha/kernel/time.c
Expand Up @@ -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;
}


Expand Down

0 comments on commit a78eda5

Please sign in to comment.