aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstree')
-rw-r--r--lib/fstree/mknode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstree/mknode.c b/lib/fstree/mknode.c
index 6274ba7..16cfa9c 100644
--- a/lib/fstree/mknode.c
+++ b/lib/fstree/mknode.c
@@ -60,7 +60,7 @@ tree_node_t *fstree_mknode(tree_node_t *parent, const char *name,
break;
case S_IFLNK:
n->mode = S_IFLNK | 0777;
- n->data.slink_target = ptr;
+ n->data.target = ptr;
break;
case S_IFBLK:
case S_IFCHR: