Skip to content

Commit 34fdd5b

Browse files
sthibaultgross35
authored andcommitted
hurd: Fix MAP_HASSEMAPHORE name
According to upstream fix https://sourceware.org/git/?p=glibc.git;a=commit;h=c0365d3791666c67ad410007efb52fc9b16d4287 (backport <rust-lang#4127>) (cherry picked from commit 0fd3667)
1 parent e49123e commit 34fdd5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/hurd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2732,7 +2732,7 @@ pub const MAP_SHARED: ::c_int = 16;
27322732
pub const MAP_PRIVATE: ::c_int = 0;
27332733
pub const MAP_FIXED: ::c_int = 256;
27342734
pub const MAP_NOEXTEND: ::c_int = 512;
2735-
pub const MAP_HASSEMPHORE: ::c_int = 1024;
2735+
pub const MAP_HASSEMAPHORE: ::c_int = 1024;
27362736
pub const MAP_INHERIT: ::c_int = 2048;
27372737
pub const MAP_FAILED: *mut ::c_void = !0 as *mut ::c_void;
27382738
pub const MADV_NORMAL: ::c_int = 0;

0 commit comments

Comments
 (0)