use waitpid instead of wait4
This commit is contained in:
parent
dedfbe49b9
commit
91d2a93870
@ -327,7 +327,7 @@ UDIConnect(Config, Session)
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
if (wait4(pid, &statusp, WNOHANG, NULL))
|
||||
if (waitpid(pid, &statusp, WNOHANG))
|
||||
{
|
||||
sprintf(dfe_errmsg, "DFE-ipc ERROR: can't exec the TIP");
|
||||
dfe_errno = UDIErrorCantStartTIP;
|
||||
|
Loading…
x
Reference in New Issue
Block a user