aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/gensquashfs/src/fstree_from_file.c2
-rw-r--r--bin/tar2sqfs/src/process_tarball.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/bin/gensquashfs/src/fstree_from_file.c b/bin/gensquashfs/src/fstree_from_file.c
index 297db31..a5c6e53 100644
--- a/bin/gensquashfs/src/fstree_from_file.c
+++ b/bin/gensquashfs/src/fstree_from_file.c
@@ -191,7 +191,7 @@ fail_alloc:
return -1;
fail_root:
fprintf(stderr, "%s: " PRI_SZ ": cannot use / as argument for %s.\n",
- filename, line_num, is_glob ? "glob" : cb->keyword);
+ filename, line_num, cb->keyword);
return -1;
fail_no_extra:
fprintf(stderr, "%s: " PRI_SZ ": missing argument for %s.\n",
diff --git a/bin/tar2sqfs/src/process_tarball.c b/bin/tar2sqfs/src/process_tarball.c
index 3b9365d..e0326ee 100644
--- a/bin/tar2sqfs/src/process_tarball.c
+++ b/bin/tar2sqfs/src/process_tarball.c
@@ -224,8 +224,6 @@ int process_tarball(sqfs_dir_iterator_t *it, sqfs_writer_t *sqfs)
if (is_root) {
ret = set_root_attribs(sqfs, it, ent);
- } else if (skip) {
- ret = dont_skip ? -1 : 0;
} else {
ret = create_node_and_repack_data(sqfs, it, ent, link);
}