diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-28 00:20:02 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-28 00:20:02 +0200 |
commit | 1a1a4d436974d6b3a2abc21c14d032c4625753fb (patch) | |
tree | 5a03aaea4ee13261635c0941e9362440857cc9e7 /unpack | |
parent | 24bdc787f9ffa5ab2ac82ef776f7bc3ea925f591 (diff) |
Fix absolute file paths in rdsquashfs unpacker
Canonicalize the file names to make the diagnostics less scary.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack')
-rw-r--r-- | unpack/restore_fstree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unpack/restore_fstree.c b/unpack/restore_fstree.c index 1736c47..8aa283c 100644 --- a/unpack/restore_fstree.c +++ b/unpack/restore_fstree.c @@ -14,6 +14,7 @@ static int create_node(const sqfs_tree_node_t *n, int flags) if (!(flags & UNPACK_QUIET)) { name = sqfs_tree_node_get_path(n); + canonicalize_name(name); printf("creating %s\n", name); free(name); } |