aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/4004-ntpd-more-informative-poll-lowering-message.patch
blob: 721e731610a537c4f258cdd942ab6c91b9316172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 4c48a6474701d8b396a14213ebcc979a49187faf Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Thu, 3 Mar 2016 22:01:23 +0100
Subject: [PATCH 4004/4007] ntpd: more informative poll lowering message

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 networking/ntpd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/networking/ntpd.c b/networking/ntpd.c
index 2a96ddb..4695c33 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -1953,8 +1953,8 @@ recv_and_process_peer_pkt(peer_t *p)
 			adjust_poll(MINPOLL);
 		} else {
 			VERB3 if (rc > 0)
-				bb_error_msg("want smaller poll interval: offset/jitter > %u",
-					POLLADJ_GATE);
+				bb_error_msg("want smaller interval: offset/jitter = %u",
+					G.offset_to_jitter_ratio);
 			adjust_poll(-G.poll_exp * 2);
 		}
 	}
-- 
2.8.3