summaryrefslogtreecommitdiff
path: root/tests/fstree_from_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fstree_from_file.c')
-rw-r--r--tests/fstree_from_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fstree_from_file.c b/tests/fstree_from_file.c
index eccd1f4..e9b56be 100644
--- a/tests/fstree_from_file.c
+++ b/tests/fstree_from_file.c
@@ -90,8 +90,8 @@ int main(void)
assert(n->uid == 2);
assert(n->gid == 3);
assert(strcmp(n->name, "slink") == 0);
- fprintf(stderr, "'%s'\n", n->data.slink_target);
- assert(strcmp(n->data.slink_target, "slinktarget") == 0);
+ fprintf(stderr, "'%s'\n", n->data.target);
+ assert(strcmp(n->data.target, "slinktarget") == 0);
n = n->next;
assert(n->mode == (S_IFSOCK | 0555));