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:
markj 2018-03-18 17:03:26 +00:00
parent 8c0db0b007
commit 836da61ad3

View File

@ -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);