aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-11-20 19:51:08 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-11-20 19:52:44 +0100
commitc0365d3791666c67ad410007efb52fc9b16d4287 (patch)
tree437981bde50c908bce7dd1602d1108a01447df09
parent6e7778ecdef27ebec3f01c3703ed4f51fa578c9c (diff)
downloadglibc-c0365d3791666c67ad410007efb52fc9b16d4287.zip
glibc-c0365d3791666c67ad410007efb52fc9b16d4287.tar.gz
glibc-c0365d3791666c67ad410007efb52fc9b16d4287.tar.bz2
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.
-rw-r--r--bits/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bits/mman.h b/bits/mman.h
index af26ccd..b3495a7 100644
--- a/bits/mman.h
+++ b/bits/mman.h
@@ -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'. */