From 228ba21e4fe702393b5e131ea14bbbfceff3f0b1 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 1 Dec 2025 04:27:44 -0600 Subject: more stderr oh also fprintf not sprintf silly --- src/lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua.c') diff --git a/src/lua.c b/src/lua.c index 8729229..587b291 100644 --- a/src/lua.c +++ b/src/lua.c @@ -272,11 +272,11 @@ void luaI_deepcopy(lua_State* src, lua_State* dest, enum deep_copy_flags flags){ lua_pushlightuserdata(dest, lua_touserdata(src, -1)); break; case LUA_TTHREAD: - sprintf(stderr, "unable to copy LUA_TTHREAD, pushing nil\n"); + fprintf(stderr, "unable to copy LUA_TTHREAD, pushing nil\n"); lua_pushnil(dest); break; default: - sprintf(stderr, "unknown type %i vs (old)%i\n",lua_type(src, -1), type); + fprintf(stderr, "unknown type %i vs (old)%i\n",lua_type(src, -1), type); //abort(); lua_pushnil(dest); break; -- cgit v1.2.3