From 944576d35d755560aa5dec99925cdc26adefd396 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 18 Jan 2017 01:33:18 +0100 Subject: s-s-d: Use proc_stat_pid() instead of accessing the member directly --- utils/start-stop-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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; } -- cgit v1.2.3