summaryrefslogtreecommitdiff
path: root/sys/kern/subr_clock.c
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2007-07-23 09:42:32 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2007-07-23 09:42:32 +0000
commit6d8617d42a1988bcc6543ac0c42fa2d998075b50 (patch)
tree9e35e0b6e5b6c0c6047ac01c3aa7bf287ef1c85d /sys/kern/subr_clock.c
parent8136d21ec099b9b42574c27f0f94de9d003b1c66 (diff)
Notes
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);