about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-06-16 19:24:17 -0400
committerAlex Crichton <alex@alexcrichton.com>2014-06-16 18:16:40 -0700
commit6dd6ddd9b9b7bbae9d7e436ddd777729a019c4c6 (patch)
treeb2f618b07731fc021825843cb4312b4112ea2a17
parentf4ae8a83f9e56a7f16a5f0a25d22c74063e2fb5e (diff)
downloadrust-6dd6ddd9b9b7bbae9d7e436ddd777729a019c4c6.tar.gz
rust-6dd6ddd9b9b7bbae9d7e436ddd777729a019c4c6.zip
fix typo in the libc crate
-rw-r--r--src/liblibc/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 8f245f1d5b4..05d9988a139 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -2592,7 +2592,7 @@ pub mod consts {
             pub static PROT_GROWSUP : c_int = 0x020000000;
 
             pub static MAP_TYPE : c_int = 0x000f;
-            pub static MAP_ANONONYMOUS : c_int = 0x0020;
+            pub static MAP_ANONYMOUS : c_int = 0x0020;
             pub static MAP_32BIT : c_int = 0x0040;
             pub static MAP_GROWSDOWN : c_int = 0x0100;
             pub static MAP_DENYWRITE : c_int = 0x0800;
@@ -2615,7 +2615,7 @@ pub mod consts {
             pub static PROT_GROWSUP : c_int = 0x02000000;
 
             pub static MAP_TYPE : c_int = 0x000f;
-            pub static MAP_ANONONYMOUS : c_int = 0x0800;
+            pub static MAP_ANONYMOUS : c_int = 0x0800;
             pub static MAP_GROWSDOWN : c_int = 0x01000;
             pub static MAP_DENYWRITE : c_int = 0x02000;
             pub static MAP_EXECUTABLE : c_int = 0x04000;