From b381077b137be9ad9c2372f6fc6ed639bfb56ab6 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 9 Jul 2020 15:04:51 -0400 Subject: [PATCH] docs: cleanup comments --- runtime/src/module.c | 2 +- runtime/src/software_interrupt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/module.c b/runtime/src/module.c index 1762af8..cdb9383 100644 --- a/runtime/src/module.c +++ b/runtime/src/module.c @@ -239,7 +239,7 @@ module_new_from_json(char *file_name) goto err; } - /* Initialize a Buffer, */ + /* Initialize a Buffer */ assert(stat_buffer.st_size != 0); errno = 0; char *file_buffer = malloc(stat_buffer.st_size); diff --git a/runtime/src/software_interrupt.c b/runtime/src/software_interrupt.c index a8c3453..5dfcb25 100644 --- a/runtime/src/software_interrupt.c +++ b/runtime/src/software_interrupt.c @@ -89,7 +89,7 @@ software_interrupt_handle_signals(int signal_type, siginfo_t *signal_info, void return; } - case SIGUSR1: { /* SIGUSR1 restores the preempted sandbox stored in worker_thread_next_context. */ + case SIGUSR1: { /* SIGUSR1 restores the preempted sandbox stored in worker_thread_next_context. */ /* Make sure *sigalrm doesn't mess this up if nested.. */ assert(!software_interrupt_is_enabled()); /* we set current before calling pthread_kill! */