diff options
author | Andrey Alekseenko <andrei.alekseenko@gmail.com> | 2016-01-15 06:02:58 +0100 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2016-01-19 23:24:47 +0100 |
commit | f510988cf4e64d38500729cc0a621b631d3e258d (patch) | |
tree | 7f35e1a5ea56ef5665f4be7c2597054e8d591584 /exfat/libexfat/io.c | |
parent | Update qcom hardware crypto code (diff) | |
download | android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.tar android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.tar.gz android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.tar.bz2 android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.tar.lz android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.tar.xz android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.tar.zst android_bootable_recovery-f510988cf4e64d38500729cc0a621b631d3e258d.zip |
Diffstat (limited to 'exfat/libexfat/io.c')
-rw-r--r-- | exfat/libexfat/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exfat/libexfat/io.c b/exfat/libexfat/io.c index 3c3bd270b..60aabb5ec 100644 --- a/exfat/libexfat/io.c +++ b/exfat/libexfat/io.c @@ -298,7 +298,7 @@ loff_t exfat_seek(struct exfat_dev* dev, loff_t offset, int whence) /* XXX SEEK_CUR will be handled incorrectly */ return dev->pos = lseek(dev->fd, offset, whence); #else - return lseek(dev->fd, offset, whence); + return lseek64(dev->fd, offset, whence); #endif } @@ -332,7 +332,7 @@ ssize_t exfat_pread(struct exfat_dev* dev, void* buffer, size_t size, #ifdef USE_UBLIO return ublio_pread(dev->ufh, buffer, size, offset); #else - return pread(dev->fd, buffer, size, offset); + return pread64(dev->fd, buffer, size, offset); #endif } @@ -342,7 +342,7 @@ ssize_t exfat_pwrite(struct exfat_dev* dev, const void* buffer, size_t size, #ifdef USE_UBLIO return ublio_pwrite(dev->ufh, buffer, size, offset); #else - return pwrite(dev->fd, buffer, size, offset); + return pwrite64(dev->fd, buffer, size, offset); #endif } |