[llvm-commits] [compiler-rt] r146188 - /compiler-rt/trunk/SDKs/linux/usr/include/sys/mman.h
Daniel Dunbar
daniel at zuster.org
Thu Dec 8 13:50:03 PST 2011
Author: ddunbar
Date: Thu Dec 8 15:50:03 2011
New Revision: 146188
URL: http://llvm.org/viewvc/llvm-project?rev=146188&view=rev
Log:
SDK/linux: Fix braindead pasto, caught by Matt Beaumont-Gay.
Modified:
compiler-rt/trunk/SDKs/linux/usr/include/sys/mman.h
Modified: compiler-rt/trunk/SDKs/linux/usr/include/sys/mman.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/SDKs/linux/usr/include/sys/mman.h?rev=146188&r1=146187&r2=146188&view=diff
==============================================================================
--- compiler-rt/trunk/SDKs/linux/usr/include/sys/mman.h (original)
+++ compiler-rt/trunk/SDKs/linux/usr/include/sys/mman.h Thu Dec 8 15:50:03 2011
@@ -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)
More information about the llvm-commits
mailing list