summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-04-20 11:04:23 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2014-04-20 11:04:23 (GMT)
commit5a21c8550ef9ed9cfcc4abed7d59e58017a306e5 (patch)
tree5075be0057d519acf1f673c5efa488a67c7e545c
parentd531f93f646f4347b464730b80dfb34b8744a984 (diff)
downloadbusybox-master.tar.gz
busybox-master.tar.bz2
ntpd: fix wrong delay value in one of the printed messagesHEADmaster
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ntpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index 2eec99f..59607ed 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -1784,7 +1784,7 @@ recv_and_process_peer_pkt(peer_t *p)
prev_delay = p->p_raw_delay;
p->p_raw_delay = delay;
if (p->reachable_bits && delay > prev_delay * BAD_DELAY_GROWTH) {
- bb_error_msg("reply from %s: delay %f is too high, ignoring", p->p_dotted, p->lastpkt_delay);
+ bb_error_msg("reply from %s: delay %f is too high, ignoring", p->p_dotted, delay);
goto pick_normal_interval;
}