Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 19:10:33 +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-10@freebsd.org
Subject:   svn commit: r302909 - stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace
Message-ID:  <201607151910.u6FJAXjV082209@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri Jul 15 19:10:32 2016
New Revision: 302909
URL: https://svnweb.freebsd.org/changeset/base/302909

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

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

Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
==============================================================================
--- stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c	Fri Jul 15 19:07:00 2016	(r302908)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c	Fri Jul 15 19:10:32 2016	(r302909)
@@ -7288,7 +7288,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);
 



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