aboutsummaryrefslogtreecommitdiff
path: root/tests/gen_inode_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gen_inode_table.c')
-rw-r--r--tests/gen_inode_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gen_inode_table.c b/tests/gen_inode_table.c
index 12b3bb5..d2c694c 100644
--- a/tests/gen_inode_table.c
+++ b/tests/gen_inode_table.c
@@ -48,7 +48,7 @@ int main(void)
fstree_t fs;
// inode table for the empty tree
- assert(fstree_init(&fs, 0, 0, 0, 0, 0) == 0);
+ assert(fstree_init(&fs, 0, NULL) == 0);
assert(fstree_gen_inode_table(&fs) == 0);
assert(fs.inode_tbl_size == 3);
assert(fs.root->inode_num == 2);
@@ -58,7 +58,7 @@ int main(void)
fstree_cleanup(&fs);
// tree with 2 levels under root, fan out 3
- assert(fstree_init(&fs, 0, 0, 0, 0, 0) == 0);
+ assert(fstree_init(&fs, 0, NULL) == 0);
a = gen_node(&fs, fs.root, "a");
b = gen_node(&fs, fs.root, "b");