summaryrefslogtreecommitdiff
path: root/difftool
diff options
context:
space:
mode:
Diffstat (limited to 'difftool')
-rw-r--r--difftool/node_compare.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/difftool/node_compare.c b/difftool/node_compare.c
index d9ccf34..59d1831 100644
--- a/difftool/node_compare.c
+++ b/difftool/node_compare.c
@@ -150,7 +150,8 @@ int node_compare(sqfsdiff_t *sd, sqfs_tree_node_t *a, sqfs_tree_node_t *b)
break;
case SQFS_INODE_SLINK:
case SQFS_INODE_EXT_SLINK:
- if (strcmp(a->inode->slink_target, b->inode->slink_target)) {
+ if (strcmp((const char *)a->inode->extra,
+ (const char *)b->inode->extra)) {
fprintf(stdout, "%s has a different link target\n",
path);
}