aboutsummaryrefslogtreecommitdiff
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 c51ce5eb..2c378e9b 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.28 2009/12/17 12:26:09 roberto Exp roberto $ 2** $Id: loslib.c,v 1.29 2009/12/17 13:08:51 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*/
@@ -304,7 +304,7 @@ static const luaL_Reg syslib[] = {
304 304
305 305
306LUAMOD_API int luaopen_os (lua_State *L) { 306LUAMOD_API int luaopen_os (lua_State *L) {
307 luaL_register(L, LUA_OSLIBNAME, syslib); 307 luaL_newlib(L, syslib);
308 return 1; 308 return 1;
309} 309}
310 310