diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-26 22:06:04 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-28 16:33:57 +0200 |
commit | 8b633067948a30a0d45091afcced0392dd28d105 (patch) | |
tree | d3cfdd43132da1cee604bd18b3569bd19ba8fdd8 /lib/sqfs/write_inode.c | |
parent | 0f1bedc90f4cb71d965e99446cf3e72a45909346 (diff) |
Add fragment and block checksum fields to file_info_t
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/write_inode.c')
-rw-r--r-- | lib/sqfs/write_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/write_inode.c b/lib/sqfs/write_inode.c index 7cef7a7..726206e 100644 --- a/lib/sqfs/write_inode.c +++ b/lib/sqfs/write_inode.c @@ -88,7 +88,7 @@ static int write_file_blocks(fstree_t *fs, file_info_t *fi, meta_writer_t *im) } for (i = 0; i < count; ++i) { - bs = htole32(fi->blocksizes[i]); + bs = htole32(fi->blocks[i].size); if (meta_writer_append(im, &bs, sizeof(bs))) return -1; |