diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-27 14:01:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 14:01:48 +0100 |
commit | 6bc73acb01e2782f0ef3ec70dde3dc3f5b5da081 (patch) | |
tree | ee1deb8ffaa6ab0b293a331973b562ea5c7a842c /src/test/test-process-util.c | |
parent | 405f8907b9da158b8548a4d9b85871406fcc2801 (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/test/test-process-util.c')
-rw-r--r-- | src/test/test-process-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c index fa448348da..48be5a3a87 100644 --- a/src/test/test-process-util.c +++ b/src/test/test-process-util.c @@ -55,7 +55,7 @@ static void test_get_process_comm(void) { assert_se(get_process_cmdline(1, 8, false, &d) >= 0); log_info("pid1 cmdline truncated: '%s'", d); - assert_se(get_parent_of_pid(1, &e) >= 0); + assert_se(get_process_ppid(1, &e) >= 0); log_info("pid1 ppid: "PID_FMT, e); assert_se(e == 0); |