Fix the build with gcc.
This commit is contained in:
parent
1ce5620d32
commit
2e14fd4313
@ -145,8 +145,9 @@ proc_wstatus(struct proc_handle *phdl)
|
||||
if (phdl == NULL)
|
||||
return (-1);
|
||||
if (waitpid(phdl->pid, &status, WUNTRACED) < 0) {
|
||||
if (errno != EINTR)
|
||||
if (errno != EINTR) {
|
||||
DPRINTF("waitpid");
|
||||
}
|
||||
return (-1);
|
||||
}
|
||||
if (WIFSTOPPED(status))
|
||||
|
Loading…
Reference in New Issue
Block a user