Skip to content

Commit ce8144f

Browse files
willnodetgross35
authored andcommitted
Fix redox MAP_FIXED
(backport <rust-lang#4684>) (cherry picked from commit 60286e6)
1 parent add42a6 commit ce8144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/redox/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ pub const MAP_SHARED: c_int = 0x0001;
761761
pub const MAP_PRIVATE: c_int = 0x0002;
762762
pub const MAP_ANON: c_int = 0x0020;
763763
pub const MAP_ANONYMOUS: c_int = MAP_ANON;
764-
pub const MAP_FIXED: c_int = 0x0010;
764+
pub const MAP_FIXED: c_int = 0x0004;
765765
pub const MAP_FAILED: *mut c_void = !0 as _;
766766

767767
pub const MS_ASYNC: c_int = 0x0001;

0 commit comments

Comments
 (0)