mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 21:22:20 +08:00
use waitpid instead of wait4
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user