From 8a07696e042fa5a3aa258bdce4ffb9f7cff66d9a Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 4 Jun 2020 20:14:49 +0200 Subject: [PATCH] bindings: s/get_init_pid_for_task()/scm_init_pid()/g Signed-off-by: Christian Brauner --- src/bindings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindings.c b/src/bindings.c index b2a5991..3c298b7 100644 --- a/src/bindings.c +++ b/src/bindings.c @@ -391,7 +391,7 @@ static void write_task_init_pid_exit(int sock, pid_t target) } } -static pid_t get_init_pid_for_task(pid_t task) +static pid_t scm_init_pid(pid_t task) { char v = '0'; pid_t pid_ret = -1; @@ -447,7 +447,7 @@ pid_t lookup_initpid_in_store(pid_t pid) /* release the mutex as the following call is expensive */ store_unlock(); - hashed_pid = get_init_pid_for_task(pid); + hashed_pid = scm_init_pid(pid); store_lock(); -- 2.39.5