summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-02 11:09:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-02 11:09:15 +0000
commitf4d58abcd74e5cd3c564be9ef82636bf7a519c48 (patch)
treebfd7858298c5e641b8b2f34d68a0a4dde1c0f8ea
parent6a88dac0023d7697c34e9abf7c35494de898562e (diff)
no MAP_WRITE, fix like freebsd; spotted by bgrayson@ece.utexas.edu
-rw-r--r--lib/libc/sys/mmap.23
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 673f57c387b..f5cdb298218 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -168,10 +168,9 @@ parameter and
.Fa fd
was not open for reading.
The flags
-.Dv PROT_WRITE ,
.Dv MAP_SHARED
and
-.Dv MAP_WRITE
+.Dv PROT_WRITE
were specified as part
of the
.Fa flags