summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/clock.c b/sys/ia64/ia64/clock.c
index b26278c..07950d5 100644
--- a/sys/ia64/ia64/clock.c
+++ b/sys/ia64/ia64/clock.c
@@ -138,10 +138,10 @@ inittodr(time_t base)
ct.sec = tm.tm_sec;
ct.min = tm.tm_min;
ct.hour = tm.tm_hour;
- ct.day = tm.tm_mday -1;
+ ct.day = tm.tm_mday;
ct.mon = tm.tm_mon;
ct.year = tm.tm_year;
-
+ ct.dow = -1;
clock_ct_to_ts(&ct, &ts);
ts.tv_sec += utc_offset();
OpenPOWER on IntegriCloud