From 161a78b35bd69f748b52989945613809541e26a3 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 31 Jul 2012 08:23:55 +0200 Subject: util.datamanager: Add missing mode flag to seek call --- util/datamanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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 -- cgit v1.2.3