summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-27 11:47:23 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-27 11:47:23 +0200
commit9e332a2d3eddcc262476ac263e03df021b3c44b4 (patch)
treef0660487f864d09e78b7343be5c29384b13c7095
parent924d076370e63d830a12c866fbdb18427a625204 (diff)
Fix tar2sqfs: Actually apply the block processor flags
This fixes a bug in tar2sqfs where the -T option has no effect, because the block processor flags were propperly generated, but not passed on. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--tar/tar2sqfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 1ebe642..6025dc9 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -267,7 +267,7 @@ static int write_file(tar_header_decoded_t *hdr, file_info_t *fi,
ret = write_data_from_file(hdr->name, sqfs.data,
(sqfs_inode_generic_t **)&fi->user_ptr,
- file, 0);
+ file, flags);
sqfs_destroy(file);
if (ret)