From 6bc73acb01e2782f0ef3ec70dde3dc3f5b5da081 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2015 14:01:48 +0100 Subject: process-util: rename get_parent_of_pid() → get_process_ppid() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to match the other get_process_xyz() calls. --- src/core/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/cgroup.c') diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 90cee12be7..70f6d4af0f 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -1208,7 +1208,7 @@ int unit_search_main_pid(Unit *u, pid_t *ret) { continue; /* Ignore processes that aren't our kids */ - if (get_parent_of_pid(npid, &ppid) >= 0 && ppid != mypid) + if (get_process_ppid(npid, &ppid) >= 0 && ppid != mypid) continue; if (pid != 0) -- cgit v1.2.3-54-g00ecf