aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}