aboutsummaryrefslogtreecommitdiff
path: root/bin/tar2sqfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tar2sqfs/src')
-rw-r--r--bin/tar2sqfs/src/process_tarball.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tar2sqfs/src/process_tarball.c b/bin/tar2sqfs/src/process_tarball.c
index 91572ec..69d430d 100644
--- a/bin/tar2sqfs/src/process_tarball.c
+++ b/bin/tar2sqfs/src/process_tarball.c
@@ -31,7 +31,7 @@ static int write_file(sqfs_writer_t *sqfs, dir_iterator_t *it,
ret = istream_splice(in, out, cfg.block_size);
} while (ret > 0);
- ostream_flush(out);
+ out->flush(out);
sqfs_drop(out);
sqfs_drop(in);
return ret;