Commit 70a886eb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix file position update

parent 253488ca
......@@ -394,7 +394,7 @@ static block_t *mmapBlock (access_t *p_access)
return NULL;
}
p_access->info.i_pos += length;
p_access->info.i_pos = offset + length;
msg_Dbg (p_access, "mapped %lu bytes at %p from offset %lu",
(unsigned long)length, addr, (unsigned long)offset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment