diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-23 02:19:27 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-23 02:39:57 +0200 |
commit | 73dec828ad61d046d10648ddca5c89ce70352a7a (patch) | |
tree | f9c6ac79c1a97736d9c39a282f78dca4ef4ec04d /tests/fstree_from_file.c | |
parent | 0b22d6ad0ebed2af239259dbfa36cd9920c6f4a2 (diff) |
Move fstree default option processing to fstree code
Instead of decomposing a default string in gensquashfs option processing,
move that to fstree_init instead and pass the option string directly to
fstree_init.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fstree_from_file.c')
-rw-r--r-- | tests/fstree_from_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fstree_from_file.c b/tests/fstree_from_file.c index f9a9e28..2728397 100644 --- a/tests/fstree_from_file.c +++ b/tests/fstree_from_file.c @@ -29,7 +29,7 @@ int main(void) fp = fmemopen(ptr, strlen(ptr), "r"); assert(fp != NULL); - assert(fstree_init(&fs, 512, 0, 0755, 0, 0) == 0); + assert(fstree_init(&fs, 512, NULL) == 0); assert(fstree_from_file(&fs, "testfile", fp) == 0); tree_node_sort_recursive(fs.root); |