Fixed incorrect check.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22116 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-08-30 00:57:12 +00:00
parent a632458d8e
commit 9774b66a7d
1 changed files with 1 additions and 1 deletions

View File

@ -1364,7 +1364,7 @@ wait_for_child(pid_t child, uint32 flags, int32 *_reason,
childrenExist = has_children_in_group(team, -child);
} else {
if (struct team* childTeam = team_get_team_struct_locked(child))
childrenExist = team->parent == team;
childrenExist = childTeam->parent == team;
}
if (!childrenExist) {