use waitpid instead of wait4

This commit is contained in:
David D. Zuhn 1993-01-06 10:26:42 +00:00
parent dedfbe49b9
commit 91d2a93870
1 changed files with 1 additions and 1 deletions

View File

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