From e5052ba1cdfd4bddcdf3125c6b1912e79bdc0fa8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 29 Dec 2015 23:24:44 +0000 Subject: [PATCH] process: fix dumb error in last commit --- Kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/process.c b/Kernel/process.c index 337af076..da047d46 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -559,13 +559,13 @@ static int signal_parent(ptptr p) if (p->p_ignored & (1UL << SIGCHLD)) { /* POSIX.1 says that SIG_IGN for SIGCHLD means don't go zombie, just clean up as we go */ - p->p_status = P_EMPTY; + udata.u_ptab->p_status = P_EMPTY; return 0; } ssig(p, SIGCHLD); /* Wake up a waiting parent, if any. */ wakeup((char *)p); - p->p_status = P_ZOMBIE; + udata.u_ptab->p_status = P_ZOMBIE; return 1; } -- 2.34.1