Author: Jonas Devlieghere Date: 2020-06-23T14:19:03-07:00 New Revision: be494adb30ec76e1b6738b8bfc22040bfc31ce98
URL: https://github.com/llvm/llvm-project/commit/be494adb30ec76e1b6738b8bfc22040bfc31ce98 DIFF: https://github.com/llvm/llvm-project/commit/be494adb30ec76e1b6738b8bfc22040bfc31ce98.diff LOG: [lldb/Lua] Fix typo: s/stdout/stderr/ This wasn't caught by the existing test, but will be covered by the extended test that's part of D82412. Added: Modified: lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp index 4c3cde9a11ec..acd6128d84c5 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp @@ -75,7 +75,7 @@ llvm::Error Lua::ChangeIO(FILE *out, FILE *err) { llvm::inconvertibleErrorCode()); } - lua_getfield(m_lua_state, -1, "stdout"); + lua_getfield(m_lua_state, -1, "stderr"); if (luaL_Stream *s = static_cast<luaL_Stream *>( luaL_testudata(m_lua_state, -1, LUA_FILEHANDLE))) { s->f = out; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits