From 243809af3a8a8f78f616c3019f60841390091b9a Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 18 May 2008 16:38:13 +0000 Subject: [PATCH] Fix typo. --- src/newgrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }