diff options
Diffstat (limited to 'rtc_linux.c')
-rw-r--r-- | rtc_linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rtc_linux.c b/rtc_linux.c index 58b625b..8c42840 100644 --- a/rtc_linux.c +++ b/rtc_linux.c @@ -802,6 +802,7 @@ read_from_device(int fd_, int event, void *any) rtc_tm.tm_mday = rtc_raw.tm_mday; rtc_tm.tm_mon = rtc_raw.tm_mon; rtc_tm.tm_year = rtc_raw.tm_year; + rtc_tm.tm_wday = 0; rtc_t = t_from_rtc(&rtc_tm); |