Skip to content

Commit 60286e6

Browse files
willnodetgross35
authored andcommitted
Fix redox MAP_FIXED
1 parent 3ba96df commit 60286e6

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)