Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 17:03:26 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331135 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall
Message-ID:  <201803181703.w2IH3QgB082086@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sun Mar 18 17:03:26 2018
New Revision: 331135
URL: https://svnweb.freebsd.org/changeset/base/331135

Log:
  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

Modified:
  head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c

Modified: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c	Sun Mar 18 17:01:50 2018	(r331134)
+++ head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c	Sun Mar 18 17:03:26 2018	(r331135)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803181703.w2IH3QgB082086>