forked from OSchip/llvm-project
Correct syntax mistake hidden in assert(3)
wait_status cannot be compared with WaitStatus::Stop, go for wait_status.type. llvm-svn: 305794
This commit is contained in:
parent
4ccbd58d70
commit
4bb744156b
|
@ -845,7 +845,7 @@ void NativeProcessNetBSD::SigchldHandler() {
|
|||
if (exited)
|
||||
MonitorExited(wait_pid, wait_status);
|
||||
else {
|
||||
assert(wait_status == WaitStatus::Stop);
|
||||
assert(wait_status.type == WaitStatus::Stop);
|
||||
MonitorCallback(wait_pid, wait_status.status);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue