aboutsummaryrefslogtreecommitdiffstats
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
commitd434226dbe1029b47f12569b7f91bddd90da621b (patch)
tree35c953b53e5f709b4ece99ff232c3de268ad1c30
parent6803af2094867292188d73a647b94e5fd5fa0da9 (diff)
downloadprosody-d434226dbe1029b47f12569b7f91bddd90da621b.tar.gz
prosody-d434226dbe1029b47f12569b7f91bddd90da621b.zip
util.datamanager: Add missing mode flag to seek call
-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