aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lldb-server/LLDBServerUtilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lldb-server/LLDBServerUtilities.cpp')
-rw-r--r--tools/lldb-server/LLDBServerUtilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lldb-server/LLDBServerUtilities.cpp b/tools/lldb-server/LLDBServerUtilities.cpp
index 095d281e9208..7f9271e36b68 100644
--- a/tools/lldb-server/LLDBServerUtilities.cpp
+++ b/tools/lldb-server/LLDBServerUtilities.cpp
@@ -24,7 +24,7 @@ static std::shared_ptr<raw_ostream> GetLogStream(StringRef log_file) {
if (!log_file.empty()) {
std::error_code EC;
std::shared_ptr<raw_ostream> stream_sp = std::make_shared<raw_fd_ostream>(
- log_file, EC, sys::fs::F_Text | sys::fs::F_Append);
+ log_file, EC, sys::fs::OF_Text | sys::fs::OF_Append);
if (!EC)
return stream_sp;
errs() << llvm::formatv(