From b52318fb77fd670bd7d48541a194b05a1677a4ce Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 23 Dec 2003 00:15:15 +0000 Subject: print tv_usec fields correctly in reporting conmonotonic time --- sys/kern/kern_synch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') 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 { -- cgit v1.2.3