diff options
author | Ferenc Wágner <wferi@niif.hu> | 2013-10-14 19:45:25 +0200 |
---|---|---|
committer | Ferenc Wágner <wferi@niif.hu> | 2014-03-01 17:40:35 +0100 |
commit | f4bbf85ee5224ab5f29ff7ca900c6f25437eed07 (patch) | |
tree | 2eb093c8b980f2a811bb57f6c15a333bd847ebd7 /com32/lua/src/cpu.c | |
parent | 7b5128075df5444fbc462175f5f05140e240efe9 (diff) | |
download | syslinux-f4bbf85ee5224ab5f29ff7ca900c6f25437eed07.tar.gz |
lua: also reactivate the cpu, dhcp, dmi, pci and vesa extension modules
And document the change in usage.
Diffstat (limited to 'com32/lua/src/cpu.c')
-rw-r--r-- | com32/lua/src/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lua/src/cpu.c b/com32/lua/src/cpu.c index 6ef4e5a3..69914f79 100644 --- a/com32/lua/src/cpu.c +++ b/com32/lua/src/cpu.c @@ -152,7 +152,7 @@ static const luaL_Reg cpulib[] = { LUALIB_API int luaopen_cpu(lua_State *L) { - luaL_openlib(L, LUA_CPULIBNAME, cpulib, 0); + luaL_newlib(L, cpulib); return 1; } |