Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 15:21:23 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331554 - stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall
Message-ID:  <201803261521.w2QFLNZG059299@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Mar 26 15:21:23 2018
New Revision: 331554
URL: https://svnweb.freebsd.org/changeset/base/331554

Log:
  MFC r331135:
  Use __syscall(2) rather than syscall(2) in syscall/tst.args.c.

Modified:
  stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c
==============================================================================
--- stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c	Mon Mar 26 15:20:42 2018	(r331553)
+++ stable/11/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/syscall/tst.args.c	Mon Mar 26 15:21:23 2018	(r331554)
@@ -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?201803261521.w2QFLNZG059299>