]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
mman.h: Fix MAP_HASSEMPHORE typo
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 20 Nov 2024 18:51:08 +0000 (19:51 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 20 Nov 2024 18:52:44 +0000 (19:52 +0100)
BSD's MAP_HASSEMAPHORE is with an A. MAP_HASSEMPHORE is not used in any
Debian software for instance.

bits/mman.h

index af26ccdba37c6ad76ba411c3d0a9341ba780ce6e..b3495a7337a0901ab7f70d0c669eb6c102e4e0cf 100644 (file)
@@ -50,7 +50,7 @@
 /* Other flags.  */
 #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_HASSEMPHORE 0x0400 /* Region may contain semaphores.  */
+#define MAP_HASSEMAPHORE 0x0400        /* Region may contain semaphores.  */
 #define MAP_INHERIT     0x0800 /* Region is retained after exec.  */
 
 /* Advice to `madvise'.  */