diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 2001-08-25 18:06:32 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 2001-08-25 18:06:32 +0000 |
commit | bbe67657cfa29a133a24c74624d3f61fe6192d0a (patch) | |
tree | 493a279a92ceff24ef0f5f111661321150dd365a /usr.bin/doscmd/video.c | |
parent | ef3f517f373266cbaa93c444037f1a1e0292f90e (diff) | |
download | src-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.c | 2 |
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"); |