aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-01-06 10:26:42 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-01-06 10:26:42 +0000
commit91d2a93870234eab5a4c4e1f3ae93d9ddc7abe30 (patch)
tree7da2a1d7295bd2cc8a02a21e6ec9899b90d663ab /gdb/29k-share
parentdedfbe49b9cfdbc5a376f8ab5bcf973dfc2f88b0 (diff)
downloadgdb-91d2a93870234eab5a4c4e1f3ae93d9ddc7abe30.zip
gdb-91d2a93870234eab5a4c4e1f3ae93d9ddc7abe30.tar.gz
gdb-91d2a93870234eab5a4c4e1f3ae93d9ddc7abe30.tar.bz2
use waitpid instead of wait4
Diffstat (limited to 'gdb/29k-share')
-rw-r--r--gdb/29k-share/udi/udip2soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c
index cadc074..93112ef 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;