diff options
author | John Sonnenschein <johns@joyent.com> | 2012-01-26 21:13:11 +0000 |
---|---|---|
committer | John Sonnenschein <johns@joyent.com> | 2012-01-26 21:13:11 +0000 |
commit | 6a5fc1386817167c00f9ee99bebd9ce35d434593 (patch) | |
tree | cac62ade2a59a9df73a6b3b61be158d2b643cc2e /usr/src/cmd/rcap | |
parent | ed9115c123da1c11a0f3b51dc6259adc00a32edf (diff) | |
parent | 0db35aa3d41c1fbc653619952786a5be0fd6f19f (diff) | |
download | illumos-joyent-6a5fc1386817167c00f9ee99bebd9ce35d434593.tar.gz |
Merge branch 'master' into gcc4
Diffstat (limited to 'usr/src/cmd/rcap')
-rw-r--r-- | usr/src/cmd/rcap/rcapd/rcapd_scanner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/rcap/rcapd/rcapd_scanner.c b/usr/src/cmd/rcap/rcapd/rcapd_scanner.c index b39811b552..254bb9e922 100644 --- a/usr/src/cmd/rcap/rcapd/rcapd_scanner.c +++ b/usr/src/cmd/rcap/rcapd/rcapd_scanner.c @@ -21,6 +21,7 @@ /* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2012 Joyent, Inc. All rights reserved. */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -551,7 +552,7 @@ pageout(pid_t pid, struct ps_prochandle *Pr, caddr_t start, caddr_t end) errno = 0; res = pr_memcntl(Pr, start, (end - start), MC_SYNC, - (caddr_t)(MS_ASYNC | MS_INVALIDATE), 0, 0); + (caddr_t)(MS_ASYNC | MS_INVALCURPROC), 0, 0); debug_high("pr_memcntl [%p-%p): %d", (void *)start, (void *)end, res); /* |