Skip to content

Commit 8a34b94

Browse files
replace AppendErrorWithFormat with AppendErrorWithFormatv
Co-authored-by: Adrian Prantl <[email protected]>
1 parent 8cbe329 commit 8a34b94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/source/Commands/CommandObjectThread.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,9 @@ class CommandObjectThreadStepWithTypeAndScope : public CommandObjectParsed {
492492
llvm::Error err =
493493
sc.GetAddressRangeFromHereToEndLine(m_options.m_end_line, range);
494494
if (err) {
495-
result.AppendErrorWithFormat(
495+
result.AppendErrorWithFormatv(
496+
"invalid end-line option: {0}.",
497+
llvm::toString(std::move(err)));
496498
"invalid end-line option: %s.",
497499
llvm::toString(std::move(err)).c_str());
498500
return;

0 commit comments

Comments
 (0)