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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-11-03 11:29:49 +01:00
parent d7737416f5
commit d4341b76d0
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -3465,9 +3465,9 @@ static void user_manager_send_ready(Manager *m) {
if (!MANAGER_IS_USER(m) || m->ready_sent)
return;
r = sd_notifyf(false,
"READY=1\n"
"STATUS=Reached " SPECIAL_BASIC_TARGET ".");
r = sd_notify(false,
"READY=1\n"
"STATUS=Reached " SPECIAL_BASIC_TARGET ".");
if (r < 0)
log_warning_errno(r, "Failed to send readiness notification, ignoring: %m");