svn commit: r269757 - stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace
Mark Johnston
markj at FreeBSD.org
Sat Aug 9 15:03:57 UTC 2014
Author: markj
Date: Sat Aug 9 15:03:56 2014
New Revision: 269757
URL: http://svnweb.freebsd.org/changeset/base/269757
Log:
MFC r259211:
Correct the check for errors from proc_rwmem().
Modified:
stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
Directory Properties:
stable/9/sys/cddl/contrib/opensolaris/ (props changed)
Modified: stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Sat Aug 9 15:03:47 2014 (r269756)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Sat Aug 9 15:03:56 2014 (r269757)
@@ -75,7 +75,7 @@ proc_ops(int op, proc_t *p, void *kaddr,
uio.uio_td = curthread;
uio.uio_rw = op;
PHOLD(p);
- if (proc_rwmem(p, &uio) < 0) {
+ if (proc_rwmem(p, &uio) != 0) {
PRELE(p);
return (-1);
}
More information about the svn-src-stable-9
mailing list