diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-10 13:39:08 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-05-11 16:47:40 +0200 |
commit | 92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a (patch) | |
tree | d1cc9788b3b4a603397793987ec845d7efb96fa1 /src/timesync/timesyncd-manager.c | |
parent | logind: rename "log_message" to "log_verb" (diff) | |
download | systemd-92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a.tar.xz systemd-92663a5e5beb44d91a5cdae56d1bc7cfce01fe0a.zip |
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/timesyncd-manager.c')
-rw-r--r-- | src/timesync/timesyncd-manager.c | 3 |
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, |