aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-31 08:23:55 +0200
committerKim Alvefur <zash@zash.se>2012-07-31 08:23:55 +0200
commit161a78b35bd69f748b52989945613809541e26a3 (patch)
tree35c953b53e5f709b4ece99ff232c3de268ad1c30 /util
parentabbff817a971616372117425e81e22d0e4848eb7 (diff)
downloadprosody-161a78b35bd69f748b52989945613809541e26a3.tar.gz
prosody-161a78b35bd69f748b52989945613809541e26a3.zip
util.datamanager: Add missing mode flag to seek call
Diffstat (limited to 'util')
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 0eb3d58a..79be07b0 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -43,7 +43,7 @@ if not fallocate then -- Fallback
if not ok then
return ok, msg;
end
- f:seek(offset);
+ f:seek("set", offset);
return true;
end
end