more extra parenthesēs (gcc4 strict warnings + broken system headers)

This commit is contained in:
tg 2009-04-05 13:07:11 +00:00
parent 5c76604402
commit 7e7c648bd8
1 changed files with 3 additions and 3 deletions

6
jobs.c
View File

@ -2,7 +2,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.49 2009/04/05 12:35:31 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.50 2009/04/05 13:07:11 tg Exp $");
/* Order important! */
#define PRUNNING 0
@ -1110,11 +1110,11 @@ j_sigchld(int sig __unused)
ru0 = ru1;
p->status = status;
#ifndef MKSH_UNEMPLOYED
if (WIFSTOPPED(status))
if ((WIFSTOPPED(status)))
p->state = PSTOPPED;
else
#endif
if (WIFSIGNALED(status))
if ((WIFSIGNALED(status)))
p->state = PSIGNALLED;
else
p->state = PEXITED;