summaryrefslogtreecommitdiff
path: root/sys/kern/subr_clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_clock.c')
-rw-r--r--sys/kern/subr_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_clock.c b/sys/kern/subr_clock.c
index fe6adf9d79ba..b2f7827b5877 100644
--- a/sys/kern/subr_clock.c
+++ b/sys/kern/subr_clock.c
@@ -151,7 +151,7 @@ clock_ct_to_ts(struct clocktime *ct, struct timespec *ts)
days += days_in_month(year, i);
days += (ct->day - 1);
- /* Another sanity check. */
+ /* XXX Dow sanity check. Dow is not used, so should we check it? */
if (ct->dow != -1 && ct->dow != day_of_week(days))
return (EINVAL);