From 0128c5dc7ff2da36114b8f55187234d9b55db353 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 22 Aug 2021 12:04:05 +0200 Subject: fix typo in _syscall_await definition --- src/kernel/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/syscalls.c') diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 09b3507..13d32a2 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -40,7 +40,7 @@ _Noreturn void _syscall_exit(const char *msg, size_t len) { panic(); } -int _syscall_await(char *buf, int *len) { +int _syscall_await(char *buf, int len) { process_current->state = PS_WAITS4CHILDDEATH; process_current->saved_addr = buf; process_current->saved_len = len; -- cgit v1.2.3