aboutsummaryrefslogtreecommitdiff
path: root/tests/mknode_slink.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mknode_slink.c')
-rw-r--r--tests/mknode_slink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mknode_slink.c b/tests/mknode_slink.c
index 2383717..bbf7045 100644
--- a/tests/mknode_slink.c
+++ b/tests/mknode_slink.c
@@ -26,7 +26,7 @@ int main(void)
sb.st_rdev = 789;
sb.st_size = 1337;
- node = fstree_mknode(&fs, NULL, "symlink", 7, "target", &sb);
+ node = fstree_mknode(NULL, "symlink", 7, "target", &sb);
assert(node->uid == sb.st_uid);
assert(node->gid == sb.st_gid);
assert(node->mode == (S_IFLNK | 0777));
@@ -38,7 +38,7 @@ int main(void)
assert(strcmp(node->data.slink_target, "target") == 0);
free(node);
- node = fstree_mknode(&fs, NULL, "symlink", 7, "", &sb);
+ node = fstree_mknode(NULL, "symlink", 7, "", &sb);
assert(node->uid == sb.st_uid);
assert(node->gid == sb.st_gid);
assert(node->mode == (S_IFLNK | 0777));