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
Please register or sign in to comment