summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS.J.R. van Schaik <stephan@synkhronix.com>2021-11-02 08:30:36 -0400
committerS.J.R. van Schaik <stephan@synkhronix.com>2021-11-02 08:30:36 -0400
commited33507c694caef88cacdf51fc04516faea7fdc3 (patch)
tree37f77eecddf67d5100c9ff2b8e8ff80a12e90357
parent57d4c863ab3d1b25a58f6ebeea36bcb8fadcf36b (diff)
downloadnix-ed33507c694caef88cacdf51fc04516faea7fdc3.zip
MapFlags::MAP_ALIGNED_SUPER not exposed on FreeBSD due to typo
-rw-r--r--src/sys/mman.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs
index 882a2b94..34fb1058 100644
--- a/src/sys/mman.rs
+++ b/src/sys/mman.rs
@@ -141,7 +141,7 @@ libc_bitflags!{
#[cfg(any(target_os = "ios", target_os = "macos"))]
MAP_JIT;
/// Allows to use large pages, underlying alignment based on size.
- #[cfg(target_os = "freesd")]
+ #[cfg(target_os = "freebsd")]
MAP_ALIGNED_SUPER;
/// Pages will be discarded in the core dumps.
#[cfg(target_os = "openbsd")]