diff options
author | Richard Maw <richard.maw@gmail.com> | 2016-11-05 13:20:43 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2016-11-05 13:20:43 +0000 |
commit | 13537cc334a69a4309e2f1711fa93e6a7bd653f0 (patch) | |
tree | 477cee6a1bad66b4cb476fa763362faa843610af | |
parent | 421dfc564c22abdde273ca4216e12bab23ce4d7a (diff) | |
download | luxio-13537cc334a69a4309e2f1711fa93e6a7bd653f0.tar.gz |
luxio.simple: Don't try to call errno as a function
-rw-r--r-- | luxio/simple.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luxio/simple.lua b/luxio/simple.lua index 4493a28..f2ef5ba 100644 --- a/luxio/simple.lua +++ b/luxio/simple.lua @@ -1441,7 +1441,7 @@ end local l_chdir = l.chdir local function chdir(path) - local r, err = l_chdir(path) + local r, errno = l_chdir(path) if r == -1 then return err("chdir", errno) end |