-/* $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
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) {