Skip to content

Commit 065486c

Browse files
committed
fix(rootfs): fix fast_page_fault_helper compilation
There was a compilation error in the file where getopt_long expects argc and argv arguments of main() but these weren't declared. Maybe a rebase gone bad(?) Signed-off-by: Babis Chalios <[email protected]>
1 parent 0eabede commit 065486c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/overlay/usr/local/bin/fast_page_fault_helper.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ void touch_memory(void *mem, size_t size, char val) {
2929
}
3030
}
3131

32-
int main() {
32+
int main(int argc, char *argv[]) {
3333
sigset_t set;
3434
int signal, character;
3535
void *ptr;
3636
struct timespec start, end;
3737
long duration_nanos;
3838
FILE *out_file;
3939

40-
char *options = 0;
4140
int longindex = 0;
4241
int signal_wait = 1;
4342

0 commit comments

Comments
 (0)