summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-05 14:21:40 +0200
committerKay Sievers <kay@vrfy.org>2014-05-05 14:21:40 +0200
commitee03381e21683bcb61a2a936a3f61ee2e81fd5a4 (patch)
tree4a1c881f9ba68a7756c5266a67ed9ef6c8ac8241 /src
parent7ca1d31964a2553f7bd011bc10ac42e0ebc1f975 (diff)
timesyncd: log drift value as signed
Diffstat (limited to 'src')
-rw-r--r--src/timesync/timesyncd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c
index df41f262b2..19b58bb70a 100644
--- a/src/timesync/timesyncd.c
+++ b/src/timesync/timesyncd.c
@@ -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);