Skip to content

Commit be494ad

Browse files
committed
[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.
1 parent 16784c0 commit be494ad

File tree

1 file changed

+1
-1
lines changed
  • lldb/source/Plugins/ScriptInterpreter/Lua

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ llvm::Error Lua::ChangeIO(FILE *out, FILE *err) {
7575
llvm::inconvertibleErrorCode());
7676
}
7777

78-
lua_getfield(m_lua_state, -1, "stdout");
78+
lua_getfield(m_lua_state, -1, "stderr");
7979
if (luaL_Stream *s = static_cast<luaL_Stream *>(
8080
luaL_testudata(m_lua_state, -1, LUA_FILEHANDLE))) {
8181
s->f = out;

0 commit comments

Comments
 (0)