aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/data_writer/fileapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/data_writer/fileapi.c')
-rw-r--r--lib/sqfs/data_writer/fileapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/data_writer/fileapi.c b/lib/sqfs/data_writer/fileapi.c
index de77690..89bac0b 100644
--- a/lib/sqfs/data_writer/fileapi.c
+++ b/lib/sqfs/data_writer/fileapi.c
@@ -67,7 +67,7 @@ static int flush_block(sqfs_data_writer_t *proc, sqfs_block_t *block)
sqfs_inode_make_extended(proc->inode);
proc->inode->data.file_ext.sparse += block->size;
proc->inode->num_file_blocks += 1;
- proc->inode->block_sizes[block->index] = 0;
+ proc->inode->extra[block->index] = 0;
free(block);
return 0;
}