diff options
| author | Kamil Rytarowski <n54@gmx.com> | 2017-06-20 13:51:06 +0000 |
|---|---|---|
| committer | Kamil Rytarowski <n54@gmx.com> | 2017-06-20 13:51:06 +0000 |
| commit | 4bb744156b86c8c30aa271d42b4aa076875bda29 (patch) | |
| tree | 2c4db46787787a762756494281c658d148e84cf2 | |
| parent | 4ccbd58d70b28153267f3482e9015d448f71d59a (diff) | |
| download | bcm5719-llvm-4bb744156b86c8c30aa271d42b4aa076875bda29.tar.gz bcm5719-llvm-4bb744156b86c8c30aa271d42b4aa076875bda29.zip | |
Correct syntax mistake hidden in assert(3)
wait_status cannot be compared with WaitStatus::Stop,
go for wait_status.type.
llvm-svn: 305794
| -rw-r--r-- | lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp index cc8e3376421..a4d775860a6 100644 --- a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp +++ b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp @@ -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); } } |

