mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix os_wait return type mismatch in UNIX implementation
This commit is contained in:
parent
1c3f695d5a
commit
03831386f0
1 changed files with 2 additions and 2 deletions
|
|
@ -1327,9 +1327,9 @@ pid_t os_spawn(char** argv, int* stdout_read_fd, int* stderr_read_fd, const char
|
|||
return pid;
|
||||
}
|
||||
|
||||
int os_wait(pid_t pid, int* status)
|
||||
pid_t os_wait(pid_t pid, int* status)
|
||||
{
|
||||
int ret;
|
||||
pid_t ret;
|
||||
|
||||
do {
|
||||
ret = waitpid(pid, status, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue