ntpd: more informative poll lowering message
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Mar 2016 21:01:23 +0000 (22:01 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Mar 2016 21:02:30 +0000 (22:02 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ntpd.c

index 2a96ddbd0675c374a84e444f486d9bcc44264f28..4695c336653154a0411eddf4a091d3ecce780e2a 100644 (file)
@@ -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);
                }
        }