[git commit] ntpd: more informative poll lowering message

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 3 21:02:30 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=4c48a6474701d8b396a14213ebcc979a49187faf
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at 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);
 		}
 	}


More information about the busybox-cvs mailing list