From 90d666bbc3e6fdf54909762c6b82347a74918786 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Fri, 23 Jul 2021 20:32:58 -0500 Subject: [PATCH] correct typo that causes compiling failed --- runtime/include/sandbox_types.h | 2 +- runtime/src/global_request_scheduler_minheap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/include/sandbox_types.h b/runtime/include/sandbox_types.h index 6fab84d..60cf9bc 100644 --- a/runtime/include/sandbox_types.h +++ b/runtime/include/sandbox_types.h @@ -34,7 +34,7 @@ struct sandbox { bool request_from_outside; char * previous_function_output; /* the output of the previous function */ ssize_t output_length; /* the length of previous_function_output */ - ssize_t previosu_request_length; /* the length of previous request */ + ssize_t previous_request_length; /* the length of previous request */ sandbox_state_t state; uint32_t sandbox_size; /* The struct plus enough buffer to hold the request or response (sized off largest) */ diff --git a/runtime/src/global_request_scheduler_minheap.c b/runtime/src/global_request_scheduler_minheap.c index a1c65a4..2a2da5f 100644 --- a/runtime/src/global_request_scheduler_minheap.c +++ b/runtime/src/global_request_scheduler_minheap.c @@ -75,7 +75,7 @@ sandbox_request_get_priority_fn(void *element) * Initializes the variant and registers against the polymorphic interface */ void -global_request_scheduler_minheap_initialize() +global_request_scheduler_minheap_initialize() { global_request_scheduler_minheap = priority_queue_initialize(4096, true, sandbox_request_get_priority_fn); struct global_request_scheduler_config config = {