diff options
Diffstat (limited to 'lib/common/src')
-rw-r--r-- | lib/common/src/writer/serialize_fstree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/src/writer/serialize_fstree.c b/lib/common/src/writer/serialize_fstree.c index 9776874..7ecd850 100644 --- a/lib/common/src/writer/serialize_fstree.c +++ b/lib/common/src/writer/serialize_fstree.c @@ -70,7 +70,7 @@ static sqfs_inode_generic_t *write_dir_entries(const char *filename, if (ret) goto fail; - for (it = node->data.dir.children; it != NULL; it = it->next) { + for (it = node->data.children; it != NULL; it = it->next) { if (it->mode == FSTREE_MODE_HARD_LINK_RESOLVED) { tgt = it->data.target_node; } else { |