summaryrefslogtreecommitdiff
path: root/tar/sqfs2tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/sqfs2tar.c')
-rw-r--r--tar/sqfs2tar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index 3a7d92d..a49efda 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -229,7 +229,8 @@ static int write_tree_dfs(fstree_t *fs, tree_node_t *n, data_reader_t *data)
return -1;
}
- assert(canonicalize_name(name) == 0);
+ ret = canonicalize_name(name);
+ assert(ret == 0);
if (current_subdir != NULL && !keep_as_dir) {
if (strcmp(name, current_subdir) == 0) {