diff options
Diffstat (limited to 'lib/ext2fs/imager.c')
-rw-r--r-- | lib/ext2fs/imager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext2fs/imager.c b/lib/ext2fs/imager.c index c0c10f02..948b1ac2 100644 --- a/lib/ext2fs/imager.c +++ b/lib/ext2fs/imager.c @@ -81,7 +81,7 @@ errcode_t ext2fs_image_inode_write(ext2_filsys fs, int fd, int flags) c = BUF_BLOCKS; if (c > left) c = left; - retval = io_channel_read_blk(fs->io, blk, c, buf); + retval = io_channel_read_blk64(fs->io, blk, c, buf); if (retval) goto errout; cp = buf; @@ -164,7 +164,7 @@ errcode_t ext2fs_image_inode_read(ext2_filsys fs, int fd, retval = EXT2_ET_SHORT_READ; goto errout; } - retval = io_channel_write_blk(fs->io, blk, c, buf); + retval = io_channel_write_blk64(fs->io, blk, c, buf); if (retval) goto errout; |