diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-03 11:12:25 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-03 11:29:49 +0100 |
commit | d4341b76d07fd7117a36b2f4e4b41cab41f0cf14 (patch) | |
tree | 93b4858223bb7b0b1258fbd083d9a8dcbb7ec2e5 /src/timesync | |
parent | journald: modernize code to send notifications (diff) | |
download | systemd-d4341b76d07fd7117a36b2f4e4b41cab41f0cf14.tar.xz systemd-d4341b76d07fd7117a36b2f4e4b41cab41f0cf14.zip |
tree-wide: drop "f" from sd_notify() calls with a static string
If we don't need to do any formatting, let's optimize things a bit.
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c index f21c5c316b..918da195d8 100644 --- a/src/timesync/timesyncd-manager.c +++ b/src/timesync/timesyncd-manager.c @@ -915,7 +915,7 @@ void manager_disconnect(Manager *m) { m->event_timeout = sd_event_source_unref(m->event_timeout); - sd_notifyf(false, "STATUS=Idle."); + sd_notify(false, "STATUS=Idle."); } void manager_flush_server_names(Manager *m, ServerType t) { |