svn commit: r302910 - stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace

Mark Johnston markj at FreeBSD.org
Fri Jul 15 19:14:30 UTC 2016


Author: markj
Date: Fri Jul 15 19:14:28 2016
New Revision: 302910
URL: https://svnweb.freebsd.org/changeset/base/302910

Log:
  MFC r302507:
  Avoid truncating the return value of DTrace predicates.

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
Directory Properties:
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c	Fri Jul 15 19:10:32 2016	(r302909)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c	Fri Jul 15 19:14:28 2016	(r302910)
@@ -6336,7 +6336,7 @@ dtrace_probe(dtrace_id_t id, uintptr_t a
 
 		if (pred != NULL) {
 			dtrace_difo_t *dp = pred->dtp_difo;
-			int rval;
+			uint64_t rval;
 
 			rval = dtrace_dif_emulate(dp, &mstate, vstate, state);
 


More information about the svn-src-stable-9 mailing list