From: cbzxt <38526218+cbzxt@users.noreply.github.com> Date: Wed, 25 Sep 2019 15:02:46 +0000 (+0530) Subject: Updated log message when the timesync happens for the first time (#13624) X-Git-Tag: archive/raspbian/243-7+rpi1^2~47 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d40ae0a57b4f60bb6c5169d462d61f0e498a4bba;p=systemd.git Updated log message when the timesync happens for the first time (#13624) (cherry picked from commit 37afb0ac787783a1635165b8a4e3ba5fbd007dfd) (cherry picked from commit f67f0e4ec45a7aef177cf19c689dbd76460e8540) Gbp-Pq: Name Updated-log-message-when-the-timesync-happens-for-the-fir.patch --- diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c index 3c3a7fe6..e76f1b91 100644 --- a/src/timesync/timesyncd-manager.c +++ b/src/timesync/timesyncd-manager.c @@ -617,9 +617,9 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re m->good = true; server_address_pretty(m->current_server_address, &pretty); - /* "for the first time", as further successful syncs will not be logged. */ - log_info("Synchronized to time server for the first time %s (%s).", strna(pretty), m->current_server_name->string); - sd_notifyf(false, "STATUS=Synchronized to time server for the first time %s (%s).", strna(pretty), m->current_server_name->string); + /* "Initial", as further successful syncs will not be logged. */ + log_info("Initial synchronization to time server %s (%s).", strna(pretty), m->current_server_name->string); + sd_notifyf(false, "STATUS=Initial synchronization to time server %s (%s).", strna(pretty), m->current_server_name->string); } r = manager_arm_timer(m, m->poll_interval_usec);