summaryrefslogtreecommitdiff
path: root/src/basic/process-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 14:01:48 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 14:01:48 +0100
commit6bc73acb01e2782f0ef3ec70dde3dc3f5b5da081 (patch)
treeee1deb8ffaa6ab0b293a331973b562ea5c7a842c /src/basic/process-util.c
parent405f8907b9da158b8548a4d9b85871406fcc2801 (diff)
process-util: rename get_parent_of_pid() → get_process_ppid()
In order to match the other get_process_xyz() calls.
Diffstat (limited to 'src/basic/process-util.c')
-rw-r--r--src/basic/process-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c
index 31951cdd4f..0b7e3010e0 100644
--- a/src/basic/process-util.c
+++ b/src/basic/process-util.c
@@ -402,7 +402,7 @@ int get_process_environ(pid_t pid, char **env) {
return 0;
}
-int get_parent_of_pid(pid_t pid, pid_t *_ppid) {
+int get_process_ppid(pid_t pid, pid_t *_ppid) {
int r;
_cleanup_free_ char *line = NULL;
long unsigned ppid;