Author: David Spickett Date: 2024-08-22T16:15:05Z New Revision: 09262553fa1874bec04aebb1ecd3fd3386d316d5
URL: https://github.com/llvm/llvm-project/commit/09262553fa1874bec04aebb1ecd3fd3386d316d5 DIFF: https://github.com/llvm/llvm-project/commit/09262553fa1874bec04aebb1ecd3fd3386d316d5.diff LOG: [lldb] Fix typos in ScriptedInterface.h Added: Modified: lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h b/lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h index 3ce47d0584a8a7..3850edf879ac45 100644 --- a/lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h +++ b/lldb/include/lldb/Interpreter/Interfaces/ScriptedInterface.h @@ -36,8 +36,8 @@ class ScriptedInterface { template <typename Ret> static Ret ErrorWithMessage(llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, - LLDBLog log_caterogy = LLDBLog::Process) { - LLDB_LOGF(GetLog(log_caterogy), "%s ERROR = %s", caller_name.data(), + LLDBLog log_category = LLDBLog::Process) { + LLDB_LOGF(GetLog(log_category), "%s ERROR = %s", caller_name.data(), error_msg.data()); std::string full_error_message = llvm::Twine(caller_name + llvm::Twine(" ERROR = ") + _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits