diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2009-02-06 21:48:01 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2009-02-06 21:48:01 +0000 |
commit | 59c0a8975d19d0178b056fd937721589190856f5 (patch) | |
tree | 2e2d753507871c4216ec7c6a9a154725c8278069 /usr.sbin/ntpd/ntpd.c | |
parent | d449add60a8cb9b5ecde5e03887b72c1742ea63b (diff) |
rename a #define to be clearer; no binary change
ok henning@
Diffstat (limited to 'usr.sbin/ntpd/ntpd.c')
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index dbab4a44d19..5459777d543 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.62 2009/01/29 00:06:04 stevesk Exp $ */ +/* $OpenBSD: ntpd.c,v 1.63 2009/02/06 21:48:00 stevesk Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -362,8 +362,8 @@ ntpd_adjtime(double d) static int firstadj = 1; d += getoffset(); - if (d >= (double)LOG_NEGLIGEE / 1000 || - d <= -1 * (double)LOG_NEGLIGEE / 1000) + if (d >= (double)LOG_NEGLIGIBLE_ADJTIME / 1000 || + d <= -1 * (double)LOG_NEGLIGIBLE_ADJTIME / 1000) log_info("adjusting local clock by %fs", d); else log_debug("adjusting local clock by %fs", d); |