summaryrefslogtreecommitdiff
path: root/com32/lua/src/cpu.c
diff options
context:
space:
mode:
authorFerenc Wágner <wferi@niif.hu>2013-10-14 19:45:25 +0200
committerFerenc Wágner <wferi@niif.hu>2014-03-01 17:40:35 +0100
commitf4bbf85ee5224ab5f29ff7ca900c6f25437eed07 (patch)
tree2eb093c8b980f2a811bb57f6c15a333bd847ebd7 /com32/lua/src/cpu.c
parent7b5128075df5444fbc462175f5f05140e240efe9 (diff)
downloadsyslinux-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.c2
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;
}