From 2a1aad729e09761ce45b9b283e2fb65da191d38c 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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@146188 91177308-0d34-0410-b5e6-96231b3b80d8 --- SDKs/linux/usr/include/sys/mman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SDKs') 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) -- cgit v1.2.3