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
8c0db0b007
commit
836da61ad3
@ -35,7 +35,7 @@ int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
for (;;) {
|
||||
(void) syscall(SYS_mmap, NULL, 1, 2, 3, -1, 0x12345678);
|
||||
(void) __syscall(SYS_mmap, NULL, 1, 2, 3, -1, 0x12345678);
|
||||
}
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user