summaryrefslogtreecommitdiff
path: root/src/notify/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notify/notify.c')
-rw-r--r--src/notify/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c
index a0f757a252..ceb235c1fb 100644
--- a/src/notify/notify.c
+++ b/src/notify/notify.c
@@ -193,7 +193,7 @@ int main(int argc, char* argv[]) {
r = sd_pid_notify(arg_pid, false, n);
if (r < 0) {
- log_error("Failed to notify init system: %s", strerror(-r));
+ log_error_errno(-r, "Failed to notify init system: %m");
goto finish;
}