From 73dec828ad61d046d10648ddca5c89ce70352a7a Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 23 Jun 2019 02:19:27 +0200 Subject: 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 --- tests/get_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/get_path.c') diff --git a/tests/get_path.c b/tests/get_path.c index 39d3431..5d2027a 100644 --- a/tests/get_path.c +++ b/tests/get_path.c @@ -12,7 +12,7 @@ int main(void) fstree_t fs; char *str; - assert(fstree_init(&fs, 512, 1337, 0755, 21, 42) == 0); + assert(fstree_init(&fs, 512, NULL) == 0); memset(&sb, 0, sizeof(sb)); sb.st_mode = S_IFDIR | 0750; -- cgit v1.2.3