summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/Log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Utility/Log.cpp')
-rw-r--r--lldb/source/Utility/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Utility/Log.cpp b/lldb/source/Utility/Log.cpp
index 9f2a9a6a275..c87e289aff4 100644
--- a/lldb/source/Utility/Log.cpp
+++ b/lldb/source/Utility/Log.cpp
@@ -89,7 +89,7 @@ void Log::Channel::Enable(Log &log,
uint32_t options, uint32_t flags) {
log.GetMask().Set(flags);
if (log.GetMask().Get()) {
- log.GetOptions().Set(options);
+ log.GetOptions().Reset(options);
log.SetStream(stream_sp);
log_ptr.store(&log, std::memory_order_release);
}
OpenPOWER on IntegriCloud