From: Grant Erickson Date: Fri, 25 May 2012 21:15:15 +0000 (-0700) Subject: ntp: Log the time slew delta X-Git-Tag: 2.0_alpha~136 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fconnectivity%2Fconnman.git;a=commitdiff_plain;h=18ec478652f819b8837b136ed117d8b882b2b3f6 ntp: Log the time slew delta --- diff --git a/src/ntp.c b/src/ntp.c index 9bc548d..91a8832 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;