diff options
author | peter <peter@FreeBSD.org> | 2002-11-15 22:36:57 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-11-15 22:36:57 +0000 |
commit | c841be9bcbd974616aaa3b10b66a62d927ea1f88 (patch) | |
tree | bf2b2a9ea432263c4f7ced7cda4bfc52ad432066 /sys/ia64 | |
parent | f6a3bf652e758a8cefae941e1c7524063813016c (diff) | |
download | FreeBSD-src-c841be9bcbd974616aaa3b10b66a62d927ea1f88.zip FreeBSD-src-c841be9bcbd974616aaa3b10b66a62d927ea1f88.tar.gz |
Do not assume that time_t is an int.
Approved by: re (jhb)
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/clock.c b/sys/ia64/ia64/clock.c index 4092bd3..c3615bf 100644 --- a/sys/ia64/ia64/clock.c +++ b/sys/ia64/ia64/clock.c @@ -353,7 +353,7 @@ inittodr(base) deltat = -deltat; if (deltat < 2 * SECDAY) return; - printf("WARNING: clock %s %d days", + printf("WARNING: clock %s %ld days", ts.tv_sec < base ? "lost" : "gained", deltat / SECDAY); } bad: |