summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/Args.cpp')
-rw-r--r--lldb/source/Interpreter/Args.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Interpreter/Args.cpp b/lldb/source/Interpreter/Args.cpp
index c428a2352ca..698432885d9 100644
--- a/lldb/source/Interpreter/Args.cpp
+++ b/lldb/source/Interpreter/Args.cpp
@@ -213,10 +213,9 @@ void Args::Dump(Stream &s, const char *label_name) const {
int i = 0;
for (auto &entry : m_entries) {
s.Indent();
- s.Printf("%s[%zi]=\"%*s\"\n", label_name, i++, int(entry.ref.size()),
- entry.ref.data());
+ s.Format("{0}[{1}]=\"{2}\"\n", label_name, i++, entry.ref);
}
- s.Printf("%s[%zi]=NULL\n", label_name, i);
+ s.Format("{0}[{1}]=NULL\n", label_name, i);
s.EOL();
}
OpenPOWER on IntegriCloud