aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/doscmd/video.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-08-25 18:06:32 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-08-25 18:06:32 +0000
commitbbe67657cfa29a133a24c74624d3f61fe6192d0a (patch)
tree493a279a92ceff24ef0f5f111661321150dd365a /usr.bin/doscmd/video.c
parentef3f517f373266cbaa93c444037f1a1e0292f90e (diff)
downloadsrc-bbe67657cfa29a133a24c74624d3f61fe6192d0a.tar.gz
src-bbe67657cfa29a133a24c74624d3f61fe6192d0a.zip
Remove MAP_INHERIT flag from mmaps.
Notes
Notes: svn path=/head/; revision=82325
Diffstat (limited to 'usr.bin/doscmd/video.c')
-rw-r--r--usr.bin/doscmd/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/video.c b/usr.bin/doscmd/video.c
index 318922505f9e..bd14804194a3 100644
--- a/usr.bin/doscmd/video.c
+++ b/usr.bin/doscmd/video.c
@@ -467,7 +467,7 @@ init_mode(int mode)
SIGSEGV?), which is handled in 'trap.c:sigbus()'. */
if (vmode.type == GRAPHICS) {
vmem = mmap((void *)0xa0000, 64 * 1024, PROT_NONE,
- MAP_ANON | MAP_FIXED | MAP_INHERIT | MAP_SHARED, -1, 0);
+ MAP_ANON | MAP_FIXED | MAP_SHARED, -1, 0);
if (vmem == NULL)
fatal("Could not mmap() video memory");