Since the status field is still not set correctly (lazy me), reset it to zero at least.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9769 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,6 +31,7 @@ waitpid(pid_t pid, int *_status, int options)
|
|||||||
|
|
||||||
if (_status != NULL) {
|
if (_status != NULL) {
|
||||||
// ToDo: fill in _status!
|
// ToDo: fill in _status!
|
||||||
|
*_status = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (thread < B_OK) {
|
if (thread < B_OK) {
|
||||||
|
|||||||
Reference in New Issue
Block a user