aboutsummaryrefslogtreecommitdiff
path: root/iolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'iolib.c')
-rw-r--r--iolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iolib.c b/iolib.c
index 0dfb89c8..d02086ff 100644
--- a/iolib.c
+++ b/iolib.c
@@ -340,5 +340,5 @@ void iolib_open (void)
340 lua_tagio = lua_newtag("userdata"); 340 lua_tagio = lua_newtag("userdata");
341 lua_infile=stdin; lua_outfile=stdout; 341 lua_infile=stdin; lua_outfile=stdout;
342 luaL_openlib(iolib, (sizeof(iolib)/sizeof(iolib[0]))); 342 luaL_openlib(iolib, (sizeof(iolib)/sizeof(iolib[0])));
343 lua_setglobalmethod("error", errorfb); 343 lua_seterrormethod(errorfb);
344} 344}