diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-06 19:01:11 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-06 19:08:01 +0200 |
commit | 41ddda0c732d916a6962c54a3a974a8b753f194b (patch) | |
tree | 5ea74ef79c89d41e936dfbb8dc4d65ddbcde1a7d /difftool/node_compare.c | |
parent | 19b7609586aac382f21bdc5c7369c56417775d6d (diff) |
Improve error reporting for sqfs2tar, rdsquashfs, sqfsdiff
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/node_compare.c')
-rw-r--r-- | difftool/node_compare.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/difftool/node_compare.c b/difftool/node_compare.c index 7638805..1612d34 100644 --- a/difftool/node_compare.c +++ b/difftool/node_compare.c @@ -12,8 +12,10 @@ int node_compare(sqfsdiff_t *sd, sqfs_tree_node_t *a, sqfs_tree_node_t *b) sqfs_tree_node_t *ait, *bit; int ret, status = 0; - if (path == NULL) + if (path == NULL) { + perror("constructing absolute file path"); return -1; + } if (a->inode->base.type != b->inode->base.type) { fprintf(stdout, "%s has a different type\n", path); |