diff options
author | Guillem Jover <guillem@debian.org> | 2017-01-18 01:33:18 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2017-01-22 22:55:29 +0100 |
commit | 944576d35d755560aa5dec99925cdc26adefd396 (patch) | |
tree | 7b812a3323bdd461e2b255017d15501bedb96f03 /utils/start-stop-daemon.c | |
parent | c786b8aaba703c94072f4838c42e6ae6aaae9085 (diff) | |
download | dpkg-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.c | 2 |
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; } |