aboutsummaryrefslogtreecommitdiff
path: root/difftool
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-12 00:18:39 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-12 00:19:05 +0100
commitf99022447deb5f6df6b401761897d1174a0f2319 (patch)
tree568ea7e87c91fe69ddae7df54d0de55518a1b1f0 /difftool
parent2e5007a75232ea008645cba448c7b2ce32a486cb (diff)
Fix iteration over directory children in sqfsdiff
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool')
-rw-r--r--difftool/compare_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/difftool/compare_dir.c b/difftool/compare_dir.c
index b206480..1a4c800 100644
--- a/difftool/compare_dir.c
+++ b/difftool/compare_dir.c
@@ -26,7 +26,7 @@ static int print_omitted(sqfsdiff_t *sd, bool is_old, sqfs_tree_node_t *n)
free(path);
- for (n = n->children; n->children != NULL; n = n->next) {
+ for (n = n->children; n != NULL; n = n->next) {
if (print_omitted(sd, is_old, n))
return -1;
}