Use __syscall(2) rather than syscall(2) in syscall/tst.args.c.
Some of mmap(2)'s arguments are 64 bits wide. MFC after: 3 days
This commit is contained in:
parent
95099bbad1
commit
4ed6321f41
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331135
@ -35,7 +35,7 @@ int
|
|||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
for (;;) {
|
for (;;) {
|
||||||
(void) syscall(SYS_mmap, NULL, 1, 2, 3, -1, 0x12345678);
|
(void) __syscall(SYS_mmap, NULL, 1, 2, 3, -1, 0x12345678);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user