[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.
This commit is contained in:
Jonas Devlieghere 2020-06-23 14:17:08 -07:00
parent 16784c0558
commit be494adb30
1 changed files with 1 additions and 1 deletions

View File

@ -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;