1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix build on -current.

Problem reported by: rwatson
This commit is contained in:
Jean-Marc Zucconi 2001-12-26 20:49:05 +00:00
parent 0baf4fba22
commit fcf2572a3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52223

View File

@ -0,0 +1,11 @@
--- worm.cc~ Fri Jan 22 00:30:15 1999
+++ worm.cc Wed Dec 26 02:31:17 2001
@@ -141,7 +141,7 @@
return strerror (errno);
#else
shmptr = (char *)mmap (0, shm_size, PROT_READ|PROT_WRITE,
- MAP_ANON|MAP_INHERIT|MAP_SHARED, -1, 0);
+ MAP_ANON|MAP_SHARED, -1, 0);
if (shmptr == MAP_FAILED)
return strerror (errno);
#if 0 // I always get ``Resource temporarily unavailable'' :-(