diff options
-rw-r--r-- | lldb/source/Host/common/MainLoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/MainLoop.cpp b/lldb/source/Host/common/MainLoop.cpp index 6f8d1168a2b..8a40d427abe 100644 --- a/lldb/source/Host/common/MainLoop.cpp +++ b/lldb/source/Host/common/MainLoop.cpp @@ -108,7 +108,7 @@ Status MainLoop::RunImpl::Poll() { out_events, llvm::array_lengthof(out_events), nullptr); if (num_events < 0) - return Status("kevent() failed with error %d\n", num_events); + return Status(errno, eErrorTypePOSIX); return Status(); } |