aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Host/common/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index f35eb47..4a0f024 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -172,7 +172,7 @@ MonitorChildProcessThreadFunction(::pid_t pid,
::sigaction(SIGUSR1, &sigUsr1Action, nullptr);
#endif // __linux__
- while(1) {
+ while (true) {
log = GetLog(LLDBLog::Process);
LLDB_LOG(log, "::waitpid({0}, &status, 0)...", pid);