svn commit: r215732 - head/sys/kern
Colin Percival
cperciva at FreeBSD.org
Tue Nov 23 04:50:01 UTC 2010
Author: cperciva
Date: Tue Nov 23 04:50:01 2010
New Revision: 215732
URL: http://svn.freebsd.org/changeset/base/215732
Log:
Add parentheses for clarity. The parentheses around the two terms of the &&
are unnecessary but I'm leaving them in for the sake of avoiding confusion
(I confuse easily).
Submitted by: bde
Modified:
head/sys/kern/kern_tc.c
Modified: head/sys/kern/kern_tc.c
==============================================================================
--- head/sys/kern/kern_tc.c Tue Nov 23 03:53:53 2010 (r215731)
+++ head/sys/kern/kern_tc.c Tue Nov 23 04:50:01 2010 (r215732)
@@ -448,7 +448,7 @@ tc_windup(void)
th->th_offset.sec++;
}
if ((delta > th->th_counter->tc_frequency / 2) &&
- (th->th_scale * delta < (uint64_t)1 << 63)) {
+ (th->th_scale * delta < ((uint64_t)1 << 63))) {
/* The product th_scale * delta just barely overflows. */
th->th_offset.sec++;
}
More information about the svn-src-head
mailing list