about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-17 15:19:57 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-17 15:19:57 +0530
commitc2671b59ccbc899b8defbabf453e88f89900c3a0 (patch)
tree1a68a385d98e4da0f00ce22cc9395422e1da432e /src
parenta4b57bebd0de3172dd0057bbd600f69e95295c35 (diff)
parentcbd37d898092c05d1064a287c6eb02d0114dc395 (diff)
downloadrust-c2671b59ccbc899b8defbabf453e88f89900c3a0.tar.gz
rust-c2671b59ccbc899b8defbabf453e88f89900c3a0.zip
Rollup merge of #23409 - GBGamer:patch-2, r=alexcrichton
 To the correct MAP_NORESERVE. Every other instance is known as MAP_NORESERVE, so this is just a basic typo.

I really doubt this will break anybody's but my own code.

[breaking-change]
Diffstat (limited to 'src')
-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 11aba40afad..82c54004e99 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -3298,7 +3298,7 @@ pub mod consts {
             pub const MAP_DENYWRITE : c_int = 0x0800;
             pub const MAP_EXECUTABLE : c_int = 0x01000;
             pub const MAP_LOCKED : c_int = 0x02000;
-            pub const MAP_NONRESERVE : c_int = 0x04000;
+            pub const MAP_NORESERVE : c_int = 0x04000;
             pub const MAP_POPULATE : c_int = 0x08000;
             pub const MAP_NONBLOCK : c_int = 0x010000;
             pub const MAP_STACK : c_int = 0x020000;
@@ -3325,7 +3325,7 @@ pub mod consts {
             pub const MAP_DENYWRITE : c_int = 0x02000;
             pub const MAP_EXECUTABLE : c_int = 0x04000;
             pub const MAP_LOCKED : c_int = 0x08000;
-            pub const MAP_NONRESERVE : c_int = 0x0400;
+            pub const MAP_NORESERVE : c_int = 0x0400;
             pub const MAP_POPULATE : c_int = 0x010000;
             pub const MAP_NONBLOCK : c_int = 0x020000;
             pub const MAP_STACK : c_int = 0x040000;