summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/atrtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index a519a9e..4b848c4 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -703,7 +703,8 @@ inittodr(time_t base)
#else
ct.year += 2000;
#endif
- /* Should we set dow = -1 because some clocks don't set it correctly? */
+ /* Set dow = -1 because some clocks don't set it correctly. */
+ ct.dow = -1;
if (clock_ct_to_ts(&ct, &ts)) {
printf("Invalid time in clock: check and reset the date!\n");
return;
OpenPOWER on IntegriCloud