diff options
author | Alan Cox <alc@FreeBSD.org> | 1999-11-09 01:44:28 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 1999-11-09 01:44:28 +0000 |
commit | b5616833292620ef56af3cc23784005fbb5a991e (patch) | |
tree | bfa7411e917dde2dc2cafd7795c0248368e9cbb2 /sys/fs/procfs/procfs_mem.c | |
parent | fc67908fe8f832ea2751f4c42069a507ba658815 (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.c | 2 |
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; |