summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-03 07:42:40 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-03 07:42:40 +0000
commitfcea5f4305b5742b1dd5c531d88c8c1b480f4adc (patch)
tree2dd6d05396f02b592027cbad07e5a56e44a70d13 /sys/kern/kern_clock.c
parenta58dd771d0b8bd4abcb142bc44f1a3374d5d2a77 (diff)
Make pretty + update $NetBSD$ tag. No functional change.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 079a975c5e7..c80b8f8aad8 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: kern_clock.c,v 1.10 1996/05/02 13:12:09 deraadt Exp $ */
-/* $NetBSD: kern_clock.c,v 1.31 1996/03/15 07:56:00 mycroft Exp $ */
+/* $OpenBSD: kern_clock.c,v 1.11 1996/05/03 07:42:39 niklas Exp $ */
+/* $NetBSD: kern_clock.c,v 1.33 1996/04/22 01:38:19 christos Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993
@@ -643,8 +643,7 @@ hardclock(frame)
clock_count = 0;
microtime(&clock_ext);
delta.tv_sec = clock_ext.tv_sec - newtime.tv_sec;
- delta.tv_usec = clock_ext.tv_usec -
- newtime.tv_usec;
+ delta.tv_usec = clock_ext.tv_usec - newtime.tv_usec;
if (delta.tv_usec < 0)
delta.tv_sec--;
if (delta.tv_usec >= 500000) {