commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd,commited] mman.h: Fix MAP_HASSEMPHORE typo


From: Samuel Thibault
Subject: [hurd,commited] mman.h: Fix MAP_HASSEMPHORE typo
Date: Wed, 20 Nov 2024 19:53:35 +0100

BSD's MAP_HASSEMAPHORE is with an A. MAP_HASSEMPHORE is not used in any
Debian software for instance.
---
 bits/mman.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bits/mman.h b/bits/mman.h
index af26ccdba3..b3495a7337 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'.  */
-- 
2.45.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]