I think I found a mistake I made, can you try this patch please ?

Index: kern_tc.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/kern_tc.c,v
retrieving revision 1.117
diff -u -r1.117 kern_tc.c
--- kern_tc.c   19 Mar 2002 21:24:06 -0000      1.117
+++ kern_tc.c   28 Mar 2002 12:00:13 -0000
@@ -241,7 +241,7 @@
         * The range is +/- 500PPM so we can multiply by about 8500
         * without overflowing.  4398/1024 = is very close to ideal.
         */
-       scale += (tc->tc_adjustment * 4398) >> 10;
+       scale += (tc->tc_adjustment * 4398) >> 11;
        scale /= tc->tc_tweak->tc_frequency;
        tc->tc_scale = scale * 2;
 }


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to