diff options
-rw-r--r-- | src/lfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ | |||
15 | ** lfs.touch (filepath [, atime [, mtime]]) | 15 | ** lfs.touch (filepath [, atime [, mtime]]) |
16 | ** lfs.unlock (fh) | 16 | ** lfs.unlock (fh) |
17 | ** | 17 | ** |
18 | ** $Id: lfs.c,v 1.38 2007/06/07 01:28:08 tomas Exp $ | 18 | ** $Id: lfs.c,v 1.39 2007/06/22 12:44:46 tomas Exp $ |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <errno.h> | 21 | #include <errno.h> |
@@ -599,7 +599,7 @@ static const struct luaL_reg fslib[] = { | |||
599 | 599 | ||
600 | int luaopen_lfs (lua_State *L) { | 600 | int luaopen_lfs (lua_State *L) { |
601 | dir_create_meta (L); | 601 | dir_create_meta (L); |
602 | luaL_openlib (L, "lfs", fslib, 0); | 602 | luaL_register (L, "lfs", fslib); |
603 | set_info (L); | 603 | set_info (L); |
604 | return 1; | 604 | return 1; |
605 | } | 605 | } |