aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-10-18 04:26:53 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-10-18 04:26:53 +0000
commit2d8f1062043888614fe3883f04cc5d1a6eae67aa (patch)
tree97eb806ca6546044c885a91d088d49e96a5b85e2 /sys/miscfs
parent430e2b9142d3834dd2c3bbab0e4be019bef081fb (diff)
Notes
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/procfs/procfs_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c
index e6fa093dcab23..65cde1f16623d 100644
--- a/sys/miscfs/procfs/procfs_mem.c
+++ b/sys/miscfs/procfs/procfs_mem.c
@@ -37,7 +37,7 @@
*
* @(#)procfs_mem.c 8.4 (Berkeley) 1/21/94
*
- * $Id: procfs_mem.c,v 1.2 1994/08/02 07:45:13 davidg Exp $
+ * $Id: procfs_mem.c,v 1.3 1994/09/15 19:47:47 bde Exp $
*/
/*
@@ -86,7 +86,7 @@ procfs_rwmem(p, uio)
int fix_prot;
uva = (vm_offset_t) uio->uio_offset;
- if (uva > VM_MAXUSER_ADDRESS) {
+ if (uva >= VM_MAXUSER_ADDRESS + UPAGES * PAGE_SIZE) {
error = 0;
break;
}