forked from OSchip/llvm-project
[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:
parent
16784c0558
commit
be494adb30
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue