summaryrefslogtreecommitdiff
path: root/bin/tar2sqfs/process_tarball.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tar2sqfs/process_tarball.c')
-rw-r--r--bin/tar2sqfs/process_tarball.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/tar2sqfs/process_tarball.c b/bin/tar2sqfs/process_tarball.c
index 40a8157..1118822 100644
--- a/bin/tar2sqfs/process_tarball.c
+++ b/bin/tar2sqfs/process_tarball.c
@@ -19,8 +19,7 @@ static int write_file(istream_t *input_file, sqfs_writer_t *sqfs,
if (no_tail_pack && filesize > cfg.block_size)
flags |= SQFS_BLK_DONT_FRAGMENT;
- out = data_writer_ostream_create(hdr->name, sqfs->data,
- (sqfs_inode_generic_t **)&fi->user_ptr,
+ out = data_writer_ostream_create(hdr->name, sqfs->data, &fi->inode,
flags);
if (out == NULL)