diff -r cefa0be5f567 -r cafaa46928c8 examples/luastate.lua --- a/examples/luastate.lua Thu Apr 19 00:29:35 2012 +0100 +++ b/examples/luastate.lua Wed Sep 25 15:00:13 2013 +0100 @@ -98,7 +98,7 @@ local fd = file if type(file) == 'string' then - fd = io.open(filename, "w") + fd = io.open(file, "w") end fd:write(sformat("memory = %i bytes\n", collectgarbage"count" * 1024)) fd:write(sformat("str_data = %i\n", str_data))