summaryrefslogtreecommitdiff
path: root/tar/sqfs2tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/sqfs2tar.c')
-rw-r--r--tar/sqfs2tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index 4d31fbe..935b687 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -414,7 +414,7 @@ static int write_tree_dfs(const sqfs_tree_node_t *n)
}
}
- target = S_ISLNK(sb.st_mode) ? n->inode->slink_target : NULL;
+ target = S_ISLNK(sb.st_mode) ? (char *)n->inode->extra : NULL;
ret = write_tar_header(out_file, &sb, name, target, xattr,
record_counter++);