mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Fix generic wait3 after union wait_status removal.
* sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's not any more.
This commit is contained in:
parent
307c2c2dff
commit
9a3d16ac15
@ -1,5 +1,8 @@
|
||||
2016-09-02 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
|
||||
not any more.
|
||||
|
||||
* sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
|
||||
|
||||
2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
@ -33,7 +33,7 @@ __wait3 (int *stat_loc, int options, struct rusage *usage)
|
||||
__set_errno (ENOSYS);
|
||||
return (pid_t) -1;
|
||||
}
|
||||
return __waitpid (WAIT_ANY, stat_loc.__iptr, options);
|
||||
return __waitpid (WAIT_ANY, stat_loc, options);
|
||||
}
|
||||
|
||||
weak_alias (__wait3, wait3)
|
||||
|
Loading…
Reference in New Issue
Block a user