Skip to content
Commit 32ea3a78 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

mtp: fix file writing

libmtp internally assumes that the fd cursor is at the beginning of the
file, so force seek to position 0 to ensure that assertion is met.
without this libmtp could fail to read data correctly when (e.g.)
copying files
parent 13d7c0da
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