summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-server/LLDBServerUtilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-server/LLDBServerUtilities.cpp')
-rw-r--r--lldb/tools/lldb-server/LLDBServerUtilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/lldb-server/LLDBServerUtilities.cpp b/lldb/tools/lldb-server/LLDBServerUtilities.cpp
index e07087e00b2..bf7b555c35c 100644
--- a/lldb/tools/lldb-server/LLDBServerUtilities.cpp
+++ b/lldb/tools/lldb-server/LLDBServerUtilities.cpp
@@ -52,8 +52,8 @@ bool LLDBServerUtilities::SetupLogging(const std::string &log_file,
channel_then_categories.Shift(); // Shift off the channel
bool success = Log::EnableLogChannel(
- log_stream_sp, log_options, channel.c_str(),
- channel_then_categories.GetConstArgumentVector(), error_stream);
+ log_stream_sp, log_options, channel,
+ channel_then_categories.GetArgumentArrayRef(), error_stream);
if (!success) {
fprintf(stderr, "Unable to open log file '%s' for channel \"%s\"\n",
log_file.c_str(), channel_with_categories.str().c_str());
OpenPOWER on IntegriCloud