summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/mm/mmap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/mm/mmap.rs')
-rw-r--r--vendor/rustix/src/mm/mmap.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/rustix/src/mm/mmap.rs b/vendor/rustix/src/mm/mmap.rs
index bec15f0ad..02badb9fd 100644
--- a/vendor/rustix/src/mm/mmap.rs
+++ b/vendor/rustix/src/mm/mmap.rs
@@ -222,7 +222,8 @@ pub unsafe fn mprotect(ptr: *mut c_void, len: usize, flags: MprotectFlags) -> io
///
/// Some implementations implicitly round the memory region out to the nearest
/// page boundaries, so this function may lock more memory than explicitly
-/// requested if the memory isn't page-aligned.
+/// requested if the memory isn't page-aligned. Other implementations fail if
+/// the memory isn't page-aligned.
///
/// # References
/// - [POSIX]