Skip to content

Commit d8d763d

Browse files
committed
unix/weak: pass arguments to syscall at the given type
1 parent bf469eb commit d8d763d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/unix/weak.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ macro_rules! syscall {
135135
} else {
136136
syscall(
137137
concat_idents!(SYS_, $name),
138-
$($arg_name as c_long),*
138+
$($arg_name),*
139139
) as $ret
140140
}
141141
}

0 commit comments

Comments
 (0)