summaryrefslogtreecommitdiff
path: root/utils/start-stop-daemon.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2017-01-18 01:33:18 +0100
committerGuillem Jover <guillem@debian.org>2017-01-22 22:55:29 +0100
commit944576d35d755560aa5dec99925cdc26adefd396 (patch)
tree7b812a3323bdd461e2b255017d15501bedb96f03 /utils/start-stop-daemon.c
parentc786b8aaba703c94072f4838c42e6ae6aaae9085 (diff)
downloaddpkg-944576d35d755560aa5dec99925cdc26adefd396.tar.gz
s-s-d: Use proc_stat_pid() instead of accessing the member directly
Diffstat (limited to 'utils/start-stop-daemon.c')
-rw-r--r--utils/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 4b0840379..9d127ec44 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -1999,7 +1999,7 @@ do_procinit(void)
static int
check_proc_stat(struct proc_stat *ps)
{
- pid_check(ps->pid);
+ pid_check(proc_stat_pid(ps));
return 0;
}