diff options
author | Zachary Turner <zturner@google.com> | 2016-12-09 01:20:58 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-12-09 01:20:58 +0000 |
commit | 867e7d17655367377137393ea7d2fa68268d3001 (patch) | |
tree | 31a4d2550d1092c6d4761d27ddf56b4206a1d82f /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | e9492f72397b11209799b056508fb02ed4438caa (diff) | |
download | bcm5719-llvm-867e7d17655367377137393ea7d2fa68268d3001.tar.gz bcm5719-llvm-867e7d17655367377137393ea7d2fa68268d3001.zip |
Fix some occurrences of passing StringRef to Printf.
Hopefully these will all disappear in the future once we move
to formatv.
llvm-svn: 289168
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index b2202adc40d..5a350545763 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -375,7 +375,7 @@ protected: if (command.GetArgumentCount() > 1) { result.AppendErrorWithFormat( "too many arguments; expected frame-index, saw '%s'.\n", - command.GetArgumentAtIndex(0)); + command[0].c_str()); m_options.GenerateOptionUsage( result.GetErrorStream(), this, GetCommandInterpreter().GetDebugger().GetTerminalWidth()); |