From 49c5eada3d9e771ead85ec20a2ccdae9982417af Mon Sep 17 00:00:00 2001 From: alc Date: Tue, 9 Nov 1999 01:44:28 +0000 Subject: Passing "0" or "FALSE" as the fourth argument to vm_fault is wrong. It should be "VM_FAULT_NORMAL". --- sys/fs/procfs/procfs_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs') diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c index df97979..963fb3a 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; -- cgit v1.1