aboutsummaryrefslogtreecommitdiff
path: root/bin/rdsquashfs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rdsquashfs')
-rw-r--r--bin/rdsquashfs/src/fill_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rdsquashfs/src/fill_files.c b/bin/rdsquashfs/src/fill_files.c
index 08e11f5..afc790e 100644
--- a/bin/rdsquashfs/src/fill_files.c
+++ b/bin/rdsquashfs/src/fill_files.c
@@ -155,7 +155,7 @@ static int fill_files(sqfs_data_reader_t *data, int flags)
ret = sqfs_data_reader_dump(files[i].path, data, files[i].inode,
fp, block_size);
if (ret == 0)
- ret = ostream_flush(fp);
+ ret = fp->flush(fp);
sqfs_drop(fp);
if (ret)