summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
Diffstat (limited to 'tar')
-rw-r--r--tar/tar2sqfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index e0ffa99..ebbec41 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -499,7 +499,7 @@ int main(int argc, char **argv)
if (fstree_gen_inode_table(&fs))
goto out;
- super.inode_count = fs.inode_tbl_size - 2;
+ super.inode_count = fs.inode_tbl_size;
if (sqfs_serialize_fstree(outfile, &super, &fs, cmp, idtbl))
goto out;