summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/ntpdate
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-04-21 00:33:33 +0000
committerwollman <wollman@FreeBSD.org>1994-04-21 00:33:33 +0000
commit77b27d49908102e93566da2c2257e619c2b292dc (patch)
treea5e6c5af1da0446cc4cdfea962a6e64efab134fa /usr.sbin/xntpd/ntpdate
parentb2b233fcc4201a70cbf1037569140628ef18c04e (diff)
parent1185c9048d38483a3f99f3065590713d8bcda610 (diff)
downloadFreeBSD-src-77b27d49908102e93566da2c2257e619c2b292dc.zip
FreeBSD-src-77b27d49908102e93566da2c2257e619c2b292dc.tar.gz
This commit was generated by cvs2svn to compensate for changes in r1381,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.sbin/xntpd/ntpdate')
-rw-r--r--usr.sbin/xntpd/ntpdate/ntpdate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/xntpd/ntpdate/ntpdate.h b/usr.sbin/xntpd/ntpdate/ntpdate.h
index 4a8ff74..f6d3ebf 100644
--- a/usr.sbin/xntpd/ntpdate/ntpdate.h
+++ b/usr.sbin/xntpd/ntpdate/ntpdate.h
@@ -54,7 +54,11 @@ struct server {
* are close, or step the time if the times are farther apart. The
* following defines what is "close".
*/
+#ifdef linux
+#define NTPDATE_THRESHOLD (FP_SECOND / 8) /* 1/8 second */
+#else
#define NTPDATE_THRESHOLD (FP_SECOND >> 1) /* 1/2 second */
+#endif
/*
* When doing adjustments, ntpdate actually overadjusts (currently
OpenPOWER on IntegriCloud