From c0365d3791666c67ad410007efb52fc9b16d4287 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 20 Nov 2024 19:51:08 +0100 Subject: [PATCH] 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. --- 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'. */