diff options
author | alc <alc@FreeBSD.org> | 1999-11-09 01:44:28 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-11-09 01:44:28 +0000 |
commit | 49c5eada3d9e771ead85ec20a2ccdae9982417af (patch) | |
tree | bfa7411e917dde2dc2cafd7795c0248368e9cbb2 /sys/miscfs | |
parent | 92e43b67476e9898be13ca7cf6d1a35f5f5b1721 (diff) | |
download | FreeBSD-src-49c5eada3d9e771ead85ec20a2ccdae9982417af.zip FreeBSD-src-49c5eada3d9e771ead85ec20a2ccdae9982417af.tar.gz |
Passing "0" or "FALSE" as the fourth argument to vm_fault is wrong. It
should be "VM_FAULT_NORMAL".
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/procfs/procfs_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c index df97979..963fb3a 100644 --- a/sys/miscfs/procfs/procfs_mem.c +++ b/sys/miscfs/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; |