diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 1a5ce7de..5b0f4f6 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -453,7 +453,7 @@ protected: switch (short_option) { case 'i': if (option_arg.getAsInteger(0, m_ignore)) - error.SetErrorStringWithFormat( + error = Status::FromErrorStringWithFormat( "invalid value for ignore option: \"%s\", should be a number.", option_arg.str().c_str()); break; @@ -744,8 +744,8 @@ public: bool success; tmp_result = OptionArgParser::ToBoolean(option_arg, false, &success); if (!success) - error.SetErrorStringWithFormat("invalid boolean option: \"%s\"", - option_arg.str().c_str()); + error = Status::FromErrorStringWithFormat( + "invalid boolean option: \"%s\"", option_arg.str().c_str()); else { if (tmp_result) m_keep_stopped = eLazyBoolYes; |