From 6e09995159ff2c133edb0b663da0879a0696d1c7 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 8 Dec 2011 21:50:03 +0000 Subject: SDK/linux: Fix braindead pasto, caught by Matt Beaumont-Gay. llvm-svn: 146188 --- compiler-rt/SDKs/linux/usr/include/sys/mman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler-rt/SDKs/linux/usr/include') 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) -- cgit v1.2.3