From f4986dab75fa612f4f3d525187cd04c029d9bc6b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 24 Nov 2024 23:27:13 +0100 Subject: Accept tasks as a parameter on initrd extraction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows this functionality to be properly extracted for unit tests. Signed-off-by: Miquel Sabaté Solà --- test/test_initrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_initrd.c b/test/test_initrd.c index 73429b8..2d0d045 100644 --- a/test/test_initrd.c +++ b/test/test_initrd.c @@ -30,7 +30,7 @@ int main(void) contents[fsize] = 0; - extract_initrd(contents, (uint64_t)fsize); + extract_initrd(contents, (uint64_t)fsize, tasks); free(contents); // TODO -- cgit v1.2.3