mman.h: Fix MAP_HASSEMPHORE typo

BSD's MAP_HASSEMAPHORE is with an A. MAP_HASSEMPHORE is not used in any
Debian software for instance.
This commit is contained in:
Samuel Thibault 2024-11-20 19:51:08 +01:00
parent 6e7778ecde
commit c0365d3791

View File

@ -50,7 +50,7 @@
/* Other flags. */ /* Other flags. */
#define MAP_FIXED 0x0100 /* Map address must be exactly as requested. */ #define MAP_FIXED 0x0100 /* Map address must be exactly as requested. */
#define MAP_NOEXTEND 0x0200 /* For MAP_FILE, don't change file size. */ #define MAP_NOEXTEND 0x0200 /* For MAP_FILE, don't change file size. */
#define MAP_HASSEMPHORE 0x0400 /* Region may contain semaphores. */ #define MAP_HASSEMAPHORE 0x0400 /* Region may contain semaphores. */
#define MAP_INHERIT 0x0800 /* Region is retained after exec. */ #define MAP_INHERIT 0x0800 /* Region is retained after exec. */
/* Advice to `madvise'. */ /* Advice to `madvise'. */