summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs/procfs_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/procfs/procfs_subr.c')
-rw-r--r--sys/miscfs/procfs/procfs_subr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_subr.c b/sys/miscfs/procfs/procfs_subr.c
index 4d255ad..e1cfdf3 100644
--- a/sys/miscfs/procfs/procfs_subr.c
+++ b/sys/miscfs/procfs/procfs_subr.c
@@ -36,7 +36,7 @@
*
* @(#)procfs_subr.c 8.4 (Berkeley) 1/27/94
*
- * $Id: procfs_subr.c,v 1.2 1994/08/02 07:45:21 davidg Exp $
+ * $Id: procfs_subr.c,v 1.3 1994/10/06 21:06:44 davidg Exp $
*/
#include <sys/param.h>
@@ -144,7 +144,8 @@ loop:
break;
case Pmem:
- pfs->pfs_mode = (VREAD|VWRITE);
+ pfs->pfs_mode = (VREAD|VWRITE) |
+ (VREAD) >> 3;;
break;
case Pregs:
OpenPOWER on IntegriCloud