Fix typo.

This commit is contained in:
nekral-guest 2008-05-18 16:38:13 +00:00
parent 3fed00196c
commit 243809af3a

View File

@ -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);
}