From c22800e40e1709e4794308114543f6d6d419e4ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Feb 2017 18:00:04 +0100 Subject: cgroup: rename cg_unified() → cg_unified_controller() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cg_unified() is a bit generic a name, let's make clear that it checks whether a specified controller is in unified mode. --- src/core/scope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/scope.c') diff --git a/src/core/scope.c b/src/core/scope.c index af93d577dd..a1d5c1cfd5 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -475,7 +475,7 @@ static void scope_sigchld_event(Unit *u, pid_t pid, int code, int status) { /* If the PID set is empty now, then let's finish this off (On unified we use proper notifications) */ - if (cg_unified(SYSTEMD_CGROUP_CONTROLLER) == 0 && set_isempty(u->pids)) + if (cg_unified_controller(SYSTEMD_CGROUP_CONTROLLER) == 0 && set_isempty(u->pids)) scope_notify_cgroup_empty_event(u); } -- cgit v1.2.3-54-g00ecf