summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-05-12 16:31:35 +0200
committerKevin Wolf <kwolf@redhat.com>2010-05-17 10:20:05 +0200
commit16cdf7ce1a53dcab75f5206a89bf98bb907a8b9e (patch)
tree869bb47a2a5083a4246971a9a7efcd216162d71c /linux-user/syscall.c
parentcd02a24b6112da50816a8021d97a2b26038f7190 (diff)
downloadfocaccia-qemu-16cdf7ce1a53dcab75f5206a89bf98bb907a8b9e.tar.gz
focaccia-qemu-16cdf7ce1a53dcab75f5206a89bf98bb907a8b9e.zip
dmg: use pread
Use pread instead of lseek + read in preparation of using the qemu
block API.  Note that dmg actually uses the implicit file offset
a lot in dmg_open, and we had to replace it with an offset variable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions