From 885e4315e3fbab6feb82bae03c30f9ba02c1b36e Mon Sep 17 00:00:00 2001 From: ZephyrZhang Date: Fri, 25 Oct 2024 13:20:41 +0800 Subject: [PATCH] fix a comment typo at kernel/src/syscall/mod.rs --- kernel/src/syscall/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/syscall/mod.rs b/kernel/src/syscall/mod.rs index 9d96c9097..9faeab2bd 100644 --- a/kernel/src/syscall/mod.rs +++ b/kernel/src/syscall/mod.rs @@ -144,7 +144,7 @@ mod write; /// The first param is the number of parameters, /// The second param is the function name of syscall handler, /// The third is optional, means the args(if parameter number > 0), -/// The third is optional, means if cpu ctx is required. +/// The fourth is optional, means if cpu ctx is required. macro_rules! syscall_handler { (0, $fn_name: ident, $args: ident, $ctx: expr) => { $fn_name($ctx)