diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-24 23:27:13 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-24 23:27:13 +0100 |
| commit | f4986dab75fa612f4f3d525187cd04c029d9bc6b (patch) | |
| tree | c70dd8bd8bd420578bf0a2af01e23ecec89bea0c /test/test_initrd.c | |
| parent | 1e81d5c0e4503c86f60ee21da76694ac0693a2e3 (diff) | |
| download | fbos-f4986dab75fa612f4f3d525187cd04c029d9bc6b.tar.gz fbos-f4986dab75fa612f4f3d525187cd04c029d9bc6b.zip | |
Accept tasks as a parameter on initrd extraction
This allows this functionality to be properly extracted for unit tests.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'test/test_initrd.c')
| -rw-r--r-- | test/test_initrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
