Skip to content

Commit ebaf26d

Browse files
committed
[lldb] Fix -Wformat after llvm#83602
1 parent 214f897 commit ebaf26d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Commands/CommandObjectThread.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class ThreadStepScopeOptionGroup : public OptionGroup {
280280
if (!success)
281281
error.SetErrorStringWithFormat(
282282
"invalid boolean value for option '%c': %s", short_option,
283-
option_arg);
283+
option_arg.data());
284284
else {
285285
m_step_in_avoid_no_debug = avoid_no_debug ? eLazyBoolYes : eLazyBoolNo;
286286
}
@@ -293,7 +293,7 @@ class ThreadStepScopeOptionGroup : public OptionGroup {
293293
if (!success)
294294
error.SetErrorStringWithFormat(
295295
"invalid boolean value for option '%c': %s", short_option,
296-
option_arg);
296+
option_arg.data());
297297
else {
298298
m_step_out_avoid_no_debug = avoid_no_debug ? eLazyBoolYes : eLazyBoolNo;
299299
}

0 commit comments

Comments
 (0)