diff options
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r-- | tar/tar2sqfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index 2eef4dc..45b71bb 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -326,7 +326,7 @@ static int create_node_and_repack_data(tar_header_decoded_t *hdr, fstree_t *fs, } if (S_ISREG(hdr->sb.st_mode)) { - if (write_file(hdr, node->data.file, data, hdr->sb.st_size)) + if (write_file(hdr, &node->data.file, data, hdr->sb.st_size)) return -1; } |