diff options
author | S.J.R. van Schaik <stephan@synkhronix.com> | 2021-11-02 08:30:36 -0400 |
---|---|---|
committer | S.J.R. van Schaik <stephan@synkhronix.com> | 2021-11-02 08:30:36 -0400 |
commit | ed33507c694caef88cacdf51fc04516faea7fdc3 (patch) | |
tree | 37f77eecddf67d5100c9ff2b8e8ff80a12e90357 | |
parent | 57d4c863ab3d1b25a58f6ebeea36bcb8fadcf36b (diff) | |
download | nix-ed33507c694caef88cacdf51fc04516faea7fdc3.zip |
MapFlags::MAP_ALIGNED_SUPER not exposed on FreeBSD due to typo
-rw-r--r-- | src/sys/mman.rs | 2 |
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")] |