From: David D. Zuhn Date: Wed, 6 Jan 1993 10:26:42 +0000 (+0000) Subject: use waitpid instead of wait4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91d2a93870234eab5a4c4e1f3ae93d9ddc7abe30;p=binutils-gdb.git use waitpid instead of wait4 --- diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c index cadc074ff84..93112efd95c 100644 --- a/gdb/29k-share/udi/udip2soc.c +++ b/gdb/29k-share/udi/udip2soc.c @@ -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;