From 867e7d17655367377137393ea7d2fa68268d3001 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 9 Dec 2016 01:20:58 +0000 Subject: Fix some occurrences of passing StringRef to Printf. Hopefully these will all disappear in the future once we move to formatv. llvm-svn: 289168 --- lldb/source/Commands/CommandObjectFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectFrame.cpp') 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()); -- cgit v1.2.3