diff options
Diffstat (limited to 'fuzz/host_command_fuzz.c')
-rw-r--r-- | fuzz/host_command_fuzz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/host_command_fuzz.c b/fuzz/host_command_fuzz.c index c4f49c9525..4ca94ff616 100644 --- a/fuzz/host_command_fuzz.c +++ b/fuzz/host_command_fuzz.c @@ -34,7 +34,7 @@ static struct ec_host_request *req = (struct ec_host_request *)req_buf; static void hostcmd_respond(struct host_packet *pkt) { - task_set_event(TASK_ID_TEST_RUNNER, TASK_EVENT_HOSTCMD_DONE, 0); + task_set_event(TASK_ID_TEST_RUNNER, TASK_EVENT_HOSTCMD_DONE); } static char calculate_checksum(const char *buf, int size) @@ -151,7 +151,7 @@ int test_fuzz_one_input(const uint8_t *data, unsigned int size) if (hostcmd_fill(data, size) < 0) return 0; - task_set_event(TASK_ID_TEST_RUNNER, TASK_EVENT_FUZZ, 0); + task_set_event(TASK_ID_TEST_RUNNER, TASK_EVENT_FUZZ); pthread_cond_wait(&done_cond, &lock); #ifdef VALID_REQUEST_ONLY |