From 9e332a2d3eddcc262476ac263e03df021b3c44b4 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 27 Apr 2020 11:47:23 +0200 Subject: 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 --- tar/tar2sqfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3