]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/service.c
core: port over unit_kill_context() to PidRef
[thirdparty/systemd.git] / src / core / service.c
index a088af5196487ab7ef30e162eaae02de9e86eb7c..34948fa92340eef248504dc9bb60bf485ba594c7 100644 (file)
@@ -2166,8 +2166,8 @@ static void service_enter_signal(Service *s, ServiceState state, ServiceResult f
                         UNIT(s),
                         &s->kill_context,
                         kill_operation,
-                        s->main_pid.pid,
-                        s->control_pid.pid,
+                        &s->main_pid,
+                        &s->control_pid,
                         s->main_pid_alien);
         if (r < 0)
                 goto fail;