chiark / gitweb /
timesyncd: log drift value as signed
authorKay Sievers <kay@vrfy.org>
Mon, 5 May 2014 12:21:40 +0000 (14:21 +0200)
committerKay Sievers <kay@vrfy.org>
Mon, 5 May 2014 12:21:40 +0000 (14:21 +0200)
src/timesync/timesyncd.c

index df41f26..19b58bb 100644 (file)
@@ -631,7 +631,7 @@ static int sntp_receive_response(sd_event_source *source, int fd, uint32_t reven
                         log_error("Failed to call clock_adjtime(): %m");
         }
 
-        log_info("%s: interval/delta/delay/jitter/drift %llus/%+.3fs/%.3fs/%.3fs/%uppm%s",
+        log_info("%s: interval/delta/delay/jitter/drift %llus/%+.3fs/%.3fs/%.3fs/%+ippm%s",
                  m->server, m->poll_interval_usec / USEC_PER_SEC, offset, delay, m->samples_jitter, m->drift_ppm,
                  spike ? " (ignored)" : "");
         r = sntp_arm_timer(m, m->poll_interval_usec);