summaryrefslogtreecommitdiff
path: root/sys/compat/common/vm_43.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-11 13:10:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-11 13:10:30 +0000
commit0ba9a6047a7ddcfe13de33c11b4fc496ba341aed (patch)
tree12ddbf4d0186480bfdaf2ac01bd4698a4fdc5687 /sys/compat/common/vm_43.c
parentac995025a91733bf8efc4c4f0c9af2d532112e7f (diff)
MAP_COPY -> MAP_PRIVATE
Diffstat (limited to 'sys/compat/common/vm_43.c')
-rw-r--r--sys/compat/common/vm_43.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/common/vm_43.c b/sys/compat/common/vm_43.c
index 11429d8ae59..a5c10cc11f8 100644
--- a/sys/compat/common/vm_43.c
+++ b/sys/compat/common/vm_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_43.c,v 1.1 1996/02/26 23:26:55 niklas Exp $ */
+/* $OpenBSD: vm_43.c,v 1.2 2001/05/11 13:10:29 art Exp $ */
/* $NetBSD: vm_43.c,v 1.1 1996/02/05 01:58:29 christos Exp $ */
/*
@@ -124,7 +124,7 @@ compat_43_sys_mmap(p, v, retval)
if (SCARG(uap, flags) & OMAP_ANON)
SCARG(&nargs, flags) |= MAP_ANON;
if (SCARG(uap, flags) & OMAP_COPY)
- SCARG(&nargs, flags) |= MAP_COPY;
+ SCARG(&nargs, flags) |= MAP_PRIVATE;
if (SCARG(uap, flags) & OMAP_SHARED)
SCARG(&nargs, flags) |= MAP_SHARED;
else