unix/weak: pass arguments to syscall at the given type
This commit is contained in:
parent
bf469eb6c2
commit
d8d763da86
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ macro_rules! syscall {
|
|||
} else {
|
||||
syscall(
|
||||
concat_idents!(SYS_, $name),
|
||||
$($arg_name as c_long),*
|
||||
$($arg_name),*
|
||||
) as $ret
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue