]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/service: fix one wording
authorMike Yuan <me@yhndnzj.com>
Wed, 16 Oct 2024 19:41:20 +0000 (21:41 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 22 Oct 2024 17:51:02 +0000 (19:51 +0200)
src/core/service.c

index 5930fade06831ea58e480900125399d5ba36e668..d33abd16823b44d45a19f679d77aa0e829e67e63 100644 (file)
@@ -1262,7 +1262,7 @@ static void service_search_main_pid(Service *s) {
         r = unit_watch_pidref(UNIT(s), &s->main_pid, /* exclusive= */ false);
         if (r < 0)
                 /* FIXME: we need to do something here */
-                log_unit_warning_errno(UNIT(s), r, "Failed to watch PID "PID_FMT" from: %m", s->main_pid.pid);
+                log_unit_warning_errno(UNIT(s), r, "Failed to watch main PID "PID_FMT": %m", s->main_pid.pid);
 }
 
 static void service_set_state(Service *s, ServiceState state) {