diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2007-07-23 09:42:32 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2007-07-23 09:42:32 +0000 |
commit | e8276674f3dc77e497ee2600cd45f51e731c6dab (patch) | |
tree | 9e35e0b6e5b6c0c6047ac01c3aa7bf287ef1c85d /sys/amd64/isa | |
parent | 9f42d6219fe8097ea3b6faf2beb93af539c11208 (diff) | |
download | FreeBSD-src-e8276674f3dc77e497ee2600cd45f51e731c6dab.zip FreeBSD-src-e8276674f3dc77e497ee2600cd45f51e731c6dab.tar.gz |
If clock_ct_to_ts fails to convert time time from the real time clock,
print a one line error message. Add some comments on not being able to
trust the day of week field (I'll act on these comments in a follow up
commit).
Approved by: re
MFC after: 3 weeks
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/clock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c index 0ef295b..852cca1 100644 --- a/sys/amd64/isa/clock.c +++ b/sys/amd64/isa/clock.c @@ -686,8 +686,7 @@ inittodr(time_t base) return; wrong_time: - printf("Invalid time in real time clock.\n"); - printf("Check and reset the date immediately!\n"); + printf("Invalid time in clock: check and reset the date!\n"); } /* |