summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-03-31 14:46:49 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-03-31 14:46:49 +0000
commit2b0a4e82777fecedc5c26d96c6978e77ba2414d8 (patch)
tree98c5af5d5ed20cb5e19091a5d6861d62750893ab /sys
parent69a21b9e6a8058b58586ee1af0b9ff9e4b68e956 (diff)
Add missing bintime2timespec().
ok art@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_tc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index c7c7256c68e..ad815dc1a57 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $OpenBSD: kern_tc.c,v 1.7 2006/11/15 17:25:40 jmc Exp $
+ * $OpenBSD: kern_tc.c,v 1.8 2007/03/31 14:46:48 kettenis Exp $
* $FreeBSD: src/sys/kern/kern_tc.c,v 1.148 2003/03/18 08:45:23 phk Exp $
*/
@@ -326,6 +326,7 @@ tc_setclock(struct timespec *ts)
/* XXX fiddle all the little crinkly bits around the fiords... */
tc_windup();
if (timestepwarnings) {
+ bintime2timespec(&bt2, &ts2);
log(LOG_INFO, "Time stepped from %ld.%09ld to %ld.%09ld\n",
(long)ts2.tv_sec, ts2.tv_nsec,
(long)ts->tv_sec, ts->tv_nsec);