unix/weak: pass arguments to syscall at the given type
This commit is contained in:
parent
bf469eb6c2
commit
d8d763da86
@ -135,7 +135,7 @@ macro_rules! syscall {
|
||||
} else {
|
||||
syscall(
|
||||
concat_idents!(SYS_, $name),
|
||||
$($arg_name as c_long),*
|
||||
$($arg_name),*
|
||||
) as $ret
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user