From: nekral-guest Date: Sun, 18 May 2008 16:38:13 +0000 (+0000) Subject: Fix typo. X-Git-Tag: 4.1.2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=243809af3a8a8f78f616c3019f60841390091b9a;p=shadow Fix typo. --- diff --git a/src/newgrp.c b/src/newgrp.c index b1b37ff1..7ecacf2d 100644 --- a/src/newgrp.c +++ b/src/newgrp.c @@ -294,7 +294,7 @@ static void syslog_sg (const char *name, const char *group) pid = waitpid (child, &cst, WUNTRACED); if (pid == child && WIFSTOPPED (cst)) { /* stop when child stops */ - kill (getpid (), WSTOPSIG(status)); + kill (getpid (), WSTOPSIG(cst)); /* wake child when resumed */ kill (child, SIGCONT); }