Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 21:05:18 GMT
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 66057 for review
Message-ID:  <200411292105.iATL5IqE031923@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=66057

Change 66057 by peter@peter_daintree on 2004/11/29 21:04:23

	try and get the logic right.  Wow, I messed this up!

Affected files ...

.. //depot/projects/hammer/sys/kern/tty.c#35 edit

Differences ...

==== //depot/projects/hammer/sys/kern/tty.c#35 (text+ko) ====

@@ -1861,7 +1861,7 @@
 		 * is large (divide by `tick' and/or arrange to
 		 * use tvtohz() if hz is large).
 		 */
-		if ((sizeof(u_long) <= 4) && hz < 169)
+		if ((sizeof(u_long) > 4) || hz < 169)
 			slp = (long) (((u_long)slp * hz) + 999999) / 1000000;
 		else {
 			struct timeval tv;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411292105.iATL5IqE031923>