unix/weak: pass arguments to syscall at the given type

This commit is contained in:
Ralf Jung 2020-11-19 10:09:40 +01:00
parent bf469eb6c2
commit d8d763da86

View File

@ -135,7 +135,7 @@ macro_rules! syscall {
} else {
syscall(
concat_idents!(SYS_, $name),
$($arg_name as c_long),*
$($arg_name),*
) as $ret
}
}