cgroup-util: drop 'controller' argument from cg_get_path()
The argument is not used anymore. Let's drop it.
This commit is contained in:
@@ -2146,7 +2146,7 @@ int posix_spawn_wrapper(
|
||||
if (cgroup && have_clone_into_cgroup) {
|
||||
_cleanup_free_ char *resolved_cgroup = NULL;
|
||||
|
||||
r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, cgroup, /* suffix= */ NULL, &resolved_cgroup);
|
||||
r = cg_get_path(cgroup, /* suffix= */ NULL, &resolved_cgroup);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user