]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
killall: correct argument comment
authorJelle van der Waa <jvanderwaa@redhat.com>
Wed, 21 May 2025 18:49:19 +0000 (20:49 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Sat, 24 May 2025 15:13:39 +0000 (17:13 +0200)
src/shared/killall.c

index 5db307560f1ceec1b9710b3b4d9bffdb64a98e65..8735b4feda62d93f60238d1b033b8575d06a15e7 100644 (file)
@@ -53,7 +53,7 @@ static bool is_in_survivor_cgroup(const PidRef *pid) {
 
         assert(pidref_is_set(pid));
 
-        r = cg_pidref_get_path(/* root= */ NULL, pid, &cgroup_path);
+        r = cg_pidref_get_path(/* controller= */ NULL, pid, &cgroup_path);
         if (r == -EUNATCH) {
                 log_warning_errno(r, "Process " PID_FMT " appears to originate in foreign namespace, ignoring.", pid->pid);
                 return true;