fix a comment typo at kernel/src/syscall/mod.rs

This commit is contained in:
ZephyrZhang
2024-10-25 13:20:41 +08:00
committed by Tate, Hongliang Tian
parent fe339fd81e
commit 885e4315e3

View File

@ -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)