From ebaf26dabec00c32177cd4fa47f3bf5902b194b7 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 1 Mar 2024 12:09:32 -0800 Subject: [PATCH] [lldb] Fix -Wformat after #83602 --- lldb/source/Commands/CommandObjectThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 6d84315a471d..cf4f8ccaa0c4 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; }