From: Harlan Stenn Date: Fri, 25 Jan 2002 23:51:26 +0000 (-0500) Subject: mu can be 0, and the (old) debug info would divide sys_jitter by mu. X-Git-Tag: NTP_4_1_1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e0d6a4eef6e705067c303a41521f18f81ec1100;p=thirdparty%2Fntp.git mu can be 0, and the (old) debug info would divide sys_jitter by mu. Lose the division. From: Dave Mills. bk: 3c51ef7ea-CyRTXMBQHrQprHfYClyg --- diff --git a/ntpd/ntp_loopfilter.c b/ntpd/ntp_loopfilter.c index b88c255db..21085aaab 100644 --- a/ntpd/ntp_loopfilter.c +++ b/ntpd/ntp_loopfilter.c @@ -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); }