Skip to content

Commit 3c82b4e

Browse files
committed
unix/weak: pass arguments to syscall at the given type
1 parent a7678e8 commit 3c82b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/sys/unix/weak.rs

Lines changed: 1 addition & 1 deletion
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)