Skip to content

Commit

Permalink
fuzzer: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Oct 11, 2021
1 parent 82c78e7 commit 8ed2fbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fuzzer/simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "../src/context/directory_context.h"
#include "../src/context/inode_context.h"
#include "../src/data/superblock.h"
#include "../src/context/superblock_context.h"
#include "../src/squash.h"
#include <stdint.h>

Expand All @@ -23,13 +23,13 @@ LLVMFuzzerTestOneInput(char *data, size_t size) {
goto out;
}

rv = squash_inode_load(&inode, squash.superblock,
squash_data_superblock_root_inode_ref(squash.superblock));
rv = squash_inode_load(&inode, &squash.superblock,
squash_superblock_inode_root_ref(&squash.superblock));
if (rv < 0) {
goto out;
}

rv = squash_directory_init(&dir, squash.superblock, &inode);
rv = squash_directory_init(&dir, &squash.superblock, &inode);
if (rv < 0) {
goto out;
}
Expand Down

0 comments on commit 8ed2fbc

Please sign in to comment.