summaryrefslogtreecommitdiff
path: root/src/timesync
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-10 13:39:08 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-11 16:47:40 +0200
commit92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a (patch)
treed1cc9788b3b4a603397793987ec845d7efb96fa1 /src/timesync
parent153d1579ef5255e589cefab0cf149c55580a25a4 (diff)
downloadsystemd-92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a.tar.gz
tree-wide: use LOG_MESSAGE() where possible
Also break some long lines for more uniform formatting. No functional change. I went over all log_struct, log_struct_errno, log_unit_struct, log_unit_struct_errno calls, and they seem fine.
Diffstat (limited to 'src/timesync')
-rw-r--r--src/timesync/timesyncd-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index 78b9cb9932..9325523838 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -620,7 +620,8 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
m->synchronized = true;
log_struct(LOG_INFO,
- LOG_MESSAGE("Initial clock synchronization to %s.", FORMAT_TIMESTAMP_STYLE(dts.realtime, TIMESTAMP_US)),
+ LOG_MESSAGE("Initial clock synchronization to %s.",
+ FORMAT_TIMESTAMP_STYLE(dts.realtime, TIMESTAMP_US)),
"MESSAGE_ID=" SD_MESSAGE_TIME_SYNC_STR,
"MONOTONIC_USEC=" USEC_FMT, dts.monotonic,
"REALTIME_USEC=" USEC_FMT, dts.realtime,