summaryrefslogtreecommitdiff
path: root/lib/common/data_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/data_writer.c')
-rw-r--r--lib/common/data_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/data_writer.c b/lib/common/data_writer.c
index bc5a43b..ceccaac 100644
--- a/lib/common/data_writer.c
+++ b/lib/common/data_writer.c
@@ -16,7 +16,7 @@ int write_data_from_file(const char *filename, sqfs_block_processor_t *data,
size_t diff;
int ret;
- ret = sqfs_block_processor_begin_file(data, inode, flags);
+ ret = sqfs_block_processor_begin_file(data, inode, NULL, flags);
if (ret) {
sqfs_perror(filename, "beginning file data blocks", ret);
return -1;