Permalink
Browse files

Merge pull request #266 from takikawa/fix-undefined

Fix undefined variable in pf.savefile
  • Loading branch information...
takikawa committed Jan 30, 2017
2 parents 25289c5 + d6a0f16 commit 3c0b47078a24a0306e557af6063bc918e5897adb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/pf/savefile.lua
@@ -36,6 +36,7 @@ function size(fd)
end
function open_and_mmap(filename)
local O_RDONLY = 0
local fd = open(filename, O_RDONLY)
if fd == -1 then
error("Error opening " .. filename)

0 comments on commit 3c0b470

Please sign in to comment.