diff options
author | Fangrui Song <i@maskray.me> | 2024-03-01 12:09:32 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-03-01 12:09:32 -0800 |
commit | ebaf26dabec00c32177cd4fa47f3bf5902b194b7 (patch) | |
tree | 0dfe37dfe3f6899027c153bffebf0001ca47e869 | |
parent | 214f8972793ccc2e062ca56c04d93e799d4c17eb (diff) | |
download | llvm-ebaf26dabec00c32177cd4fa47f3bf5902b194b7.zip llvm-ebaf26dabec00c32177cd4fa47f3bf5902b194b7.tar.gz llvm-ebaf26dabec00c32177cd4fa47f3bf5902b194b7.tar.bz2 |
[lldb] Fix -Wformat after #83602
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 6d84315..cf4f8cc 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -280,7 +280,7 @@ public: if (!success) error.SetErrorStringWithFormat( "invalid boolean value for option '%c': %s", short_option, - option_arg); + option_arg.data()); else { m_step_in_avoid_no_debug = avoid_no_debug ? eLazyBoolYes : eLazyBoolNo; } @@ -293,7 +293,7 @@ public: if (!success) error.SetErrorStringWithFormat( "invalid boolean value for option '%c': %s", short_option, - option_arg); + option_arg.data()); else { m_step_out_avoid_no_debug = avoid_no_debug ? eLazyBoolYes : eLazyBoolNo; } |