aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/procfs/procfs_mem.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>1999-11-09 01:44:28 +0000
committerAlan Cox <alc@FreeBSD.org>1999-11-09 01:44:28 +0000
commitb5616833292620ef56af3cc23784005fbb5a991e (patch)
treebfa7411e917dde2dc2cafd7795c0248368e9cbb2 /sys/fs/procfs/procfs_mem.c
parentfc67908fe8f832ea2751f4c42069a507ba658815 (diff)
Passing "0" or "FALSE" as the fourth argument to vm_fault is wrong. It
should be "VM_FAULT_NORMAL".
Notes
Notes: svn path=/head/; revision=53045
Diffstat (limited to 'sys/fs/procfs/procfs_mem.c')
-rw-r--r--sys/fs/procfs/procfs_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c
index df97979fdfd3..963fb3a22cdf 100644
--- a/sys/fs/procfs/procfs_mem.c
+++ b/sys/fs/procfs/procfs_mem.c
@@ -172,7 +172,7 @@ procfs_rwmem(curp, p, uio)
/*
* Fault the page on behalf of the process
*/
- error = vm_fault(map, pageno, reqprot, FALSE);
+ error = vm_fault(map, pageno, reqprot, VM_FAULT_NORMAL);
if (error) {
error = EFAULT;
break;