summaryrefslogtreecommitdiff
path: root/SDKs
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
commit2a1aad729e09761ce45b9b283e2fb65da191d38c (patch)
treef822494ccebfee3dbf7b4acaa21aa3cf8655703c /SDKs
parent6bbdc46fd383c1074b48ba5b48fcfc415d1574ae (diff)
SDK/linux: Fix braindead pasto, caught by Matt Beaumont-Gay.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'SDKs')
-rw-r--r--SDKs/linux/usr/include/sys/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/SDKs/linux/usr/include/sys/mman.h b/SDKs/linux/usr/include/sys/mman.h
index f27fdee69..7c4d05181 100644
--- a/SDKs/linux/usr/include/sys/mman.h
+++ b/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)