diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-12-23 00:15:15 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-12-23 00:15:15 +0000 |
commit | b52318fb77fd670bd7d48541a194b05a1677a4ce (patch) | |
tree | ea8d72073564567e9ad54866e5c10a70f06c9913 /sys | |
parent | 78848fa03518675817e036cb7c0c272321b4ffae (diff) |
print tv_usec fields correctly in reporting conmonotonic time
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_synch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 2cd8c537ba1..8edef19892c 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_synch.c,v 1.51 2003/12/19 04:51:44 millert Exp $ */ +/* $OpenBSD: kern_synch.c,v 1.52 2003/12/23 00:15:14 mickey Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /*- @@ -708,7 +708,8 @@ mi_switch() microtime(&tv); if (timercmp(&tv, &runtime, <)) { #ifdef DIAGNOSTIC - printf("time is not monotonic! tv=%ld.%ld, runtime=%ld.%ld\n", + printf("time is not monotonic! " + "tv=%ld.%06ld, runtime=%ld.%06ld\n", tv.tv_sec, tv.tv_usec, runtime.tv_sec, runtime.tv_usec); #endif } else { |