From 18ec478652f819b8837b136ed117d8b882b2b3f6 Mon Sep 17 00:00:00 2001 From: Grant Erickson Date: Fri, 25 May 2012 14:15:15 -0700 Subject: ntp: Log the time slew delta --- src/ntp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ntp.c') diff --git a/src/ntp.c b/src/ntp.c index 9bc548db..91a8832d 100644 --- a/src/ntp.c +++ b/src/ntp.c @@ -196,6 +196,8 @@ static void decode_msg(void *base, size_t len, struct timeval *tv) poll_id = g_timeout_add_seconds(transmit_delay, next_poll, NULL); + connman_info("ntp: time slew %+.6f s", offset); + if (offset < STEPTIME_MIN_OFFSET && offset > -STEPTIME_MIN_OFFSET) { struct timeval adj; -- cgit v1.2.3