PERFORCE change 66057 for review

Peter Wemm peter at FreeBSD.org
Mon Nov 29 13:05:19 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=66057

Change 66057 by peter at 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;


More information about the p4-projects mailing list