aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)