]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
mu can be 0, and the (old) debug info would divide sys_jitter by mu.
authorHarlan Stenn <stenn@ntp.org>
Fri, 25 Jan 2002 23:51:26 +0000 (18:51 -0500)
committerHarlan Stenn <stenn@ntp.org>
Fri, 25 Jan 2002 23:51:26 +0000 (18:51 -0500)
Lose the division.
From: Dave Mills.

bk: 3c51ef7ea-CyRTXMBQHrQprHfYClyg

ntpd/ntp_loopfilter.c

index b88c255db739e562400141d1a0f39f3464ecce6a..21085aaab5a63c756b50dab2b47e230fddd7ffd3 100644 (file)
@@ -695,8 +695,8 @@ local_clock(
        if (debug)
                printf(
                    "local_clock: mu %.0f noi %.3f stb %.3f pol %d cnt %d\n",
-                   mu, sys_jitter * 1e6 / mu, clock_stability * 1e6,
-                   sys_poll, tc_counter);
+                   mu, sys_jitter * 1e6, clock_stability * 1e6, sys_poll,
+                   tc_counter);
 #endif /* DEBUG */
        return (retval);
 }