aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTrace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectTrace.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTrace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectTrace.cpp b/lldb/source/Commands/CommandObjectTrace.cpp
index c55fed45d4f4..62ee48ca0546 100644
--- a/lldb/source/Commands/CommandObjectTrace.cpp
+++ b/lldb/source/Commands/CommandObjectTrace.cpp
@@ -117,8 +117,8 @@ protected:
json_file.GetDirectory().AsCString())) {
lldb::TraceSP trace_sp = traceOrErr.get();
if (m_options.m_verbose && trace_sp)
- result.AppendMessageWithFormat("loading trace with plugin %s\n",
- trace_sp->GetPluginName().AsCString());
+ result.AppendMessageWithFormatv("loading trace with plugin {0}\n",
+ trace_sp->GetPluginName());
} else
return end_with_failure(traceOrErr.takeError());