summaryrefslogtreecommitdiff
path: root/tests/fstree_sort.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 17:49:01 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-25 17:49:01 +0200
commit2341da0e0654aa8e89e5f3630f8142346788e061 (patch)
treeeb21a5e7b854b7457700e0c72cc4a6f8e9577b74 /tests/fstree_sort.c
parent3511b1fa7c6f71c579e161951e945904e552e1d9 (diff)
Fix API changes in unit tests
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fstree_sort.c')
-rw-r--r--tests/fstree_sort.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fstree_sort.c b/tests/fstree_sort.c
index c90f4b0..86ef4e5 100644
--- a/tests/fstree_sort.c
+++ b/tests/fstree_sort.c
@@ -23,10 +23,10 @@ int main(void)
sb.st_mode = S_IFBLK | 0600;
sb.st_rdev = 1337;
- a = fstree_mknode(&fs, NULL, "a", 1, NULL, &sb);
- b = fstree_mknode(&fs, NULL, "b", 1, NULL, &sb);
- c = fstree_mknode(&fs, NULL, "c", 1, NULL, &sb);
- d = fstree_mknode(&fs, NULL, "d", 1, NULL, &sb);
+ a = fstree_mknode(NULL, "a", 1, NULL, &sb);
+ b = fstree_mknode(NULL, "b", 1, NULL, &sb);
+ c = fstree_mknode(NULL, "c", 1, NULL, &sb);
+ d = fstree_mknode(NULL, "d", 1, NULL, &sb);
assert(a != NULL && b != NULL && c != NULL && d != NULL);
/* empty list */