]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.c
tree-wide: replace FOREACH_POINTER with FOREACH_ARGUMENT
[thirdparty/systemd.git] / src / core / unit.c
index c199318b6eb0e4b194b74824ee23f369ac3324ee..6496fc96d4152ca030e61d7701edf384868504ae 100644 (file)
@@ -3959,7 +3959,7 @@ static int unit_pid_set(Unit *u, Set **pid_set) {
         /* Exclude the main/control pids from being killed via the cgroup */
 
         PidRef *pid;
-        FOREACH_POINTER(pid, unit_main_pid(u), unit_control_pid(u))
+        FOREACH_ARGUMENT(pid, unit_main_pid(u), unit_control_pid(u))
                 if (pidref_is_set(pid)) {
                         r = set_ensure_put(pid_set, NULL, PID_TO_PTR(pid->pid));
                         if (r < 0)