summaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loslib.c b/loslib.c
index 48dc9179..0be07e53 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.9 2005/05/17 19:49:15 roberto Exp roberto $ 2** $Id: loslib.c,v 1.10 2005/05/25 13:21:26 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -229,7 +229,7 @@ static const luaL_reg syslib[] = {
229 229
230 230
231LUALIB_API int luaopen_os (lua_State *L) { 231LUALIB_API int luaopen_os (lua_State *L) {
232 luaL_openlib(L, LUA_OSLIBNAME, syslib, 0); 232 luaL_register(L, LUA_OSLIBNAME, syslib);
233 return 1; 233 return 1;
234} 234}
235 235