summaryrefslogtreecommitdiffstats
path: root/compiler-rt/SDKs/linux/usr/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-08 21:50:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-08 21:50:03 +0000
commit6e09995159ff2c133edb0b663da0879a0696d1c7 (patch)
tree0cfa2da852204d274b9a18c6d2f2a1bcde62b440 /compiler-rt/SDKs/linux/usr/include
parentb94c9a47e90b47873069b3d43d14da20b0099abf (diff)
downloadbcm5719-llvm-6e09995159ff2c133edb0b663da0879a0696d1c7.tar.gz
bcm5719-llvm-6e09995159ff2c133edb0b663da0879a0696d1c7.zip
SDK/linux: Fix braindead pasto, caught by Matt Beaumont-Gay.
llvm-svn: 146188
Diffstat (limited to 'compiler-rt/SDKs/linux/usr/include')
-rw-r--r--compiler-rt/SDKs/linux/usr/include/sys/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/SDKs/linux/usr/include/sys/mman.h b/compiler-rt/SDKs/linux/usr/include/sys/mman.h
index f27fdee6986..7c4d05181f5 100644
--- a/compiler-rt/SDKs/linux/usr/include/sys/mman.h
+++ b/compiler-rt/SDKs/linux/usr/include/sys/mman.h
@@ -20,7 +20,7 @@
typedef __SIZE_TYPE__ size_t;
#define PROT_READ 0x1
-#define PROT_WRITE 0x1
+#define PROT_WRITE 0x2
#define PROT_EXEC 0x4
extern int mprotect (void *__addr, size_t __len, int __prot)
OpenPOWER on IntegriCloud