summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-03 00:49:26 +0000
committerGitHub <noreply@github.com>2021-12-03 00:49:26 +0000
commit9837b464415c48d04edc27d9b909d40d802cbb51 (patch)
treeda17c44c0f157468d8c7c55fd3f081ef8284b068
parent055818a5f4f678e8a075604d990d60e6a99f08d8 (diff)
parent578ba1d8e12bd0f69df339d61485e41bc1703d67 (diff)
downloadnix-9837b464415c48d04edc27d9b909d40d802cbb51.zip
Merge #1587
1587: MapFlags::MAP_ALIGNED_SUPER not exposed on FreeBSD due to typo r=asomers a=StephanvanSchaik This fixes a typo in `src/sys/mman.rs` where `MapFlags::MAP_ALIGNED_SUPER` should have been available on FreeBSD, but is not due to a typo. Co-authored-by: S.J.R. van Schaik <stephan@synkhronix.com>
-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")]