Skip to content

Commit 6dd6ddd

Browse files
thestingeralexcrichton
authored andcommitted
fix typo in the libc crate
1 parent f4ae8a8 commit 6dd6ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liblibc/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,7 @@ pub mod consts {
25922592
pub static PROT_GROWSUP : c_int = 0x020000000;
25932593

25942594
pub static MAP_TYPE : c_int = 0x000f;
2595-
pub static MAP_ANONONYMOUS : c_int = 0x0020;
2595+
pub static MAP_ANONYMOUS : c_int = 0x0020;
25962596
pub static MAP_32BIT : c_int = 0x0040;
25972597
pub static MAP_GROWSDOWN : c_int = 0x0100;
25982598
pub static MAP_DENYWRITE : c_int = 0x0800;
@@ -2615,7 +2615,7 @@ pub mod consts {
26152615
pub static PROT_GROWSUP : c_int = 0x02000000;
26162616

26172617
pub static MAP_TYPE : c_int = 0x000f;
2618-
pub static MAP_ANONONYMOUS : c_int = 0x0800;
2618+
pub static MAP_ANONYMOUS : c_int = 0x0800;
26192619
pub static MAP_GROWSDOWN : c_int = 0x01000;
26202620
pub static MAP_DENYWRITE : c_int = 0x02000;
26212621
pub static MAP_EXECUTABLE : c_int = 0x04000;

0 commit comments

Comments
 (0)