summaryrefslogtreecommitdiff
path: root/lib/Support/Windows/Memory.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Windows/Memory.inc')
-rw-r--r--lib/Support/Windows/Memory.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/Windows/Memory.inc b/lib/Support/Windows/Memory.inc
index 4b2ff2e2d324..7eab9ff3afd2 100644
--- a/lib/Support/Windows/Memory.inc
+++ b/lib/Support/Windows/Memory.inc
@@ -192,14 +192,14 @@ static DWORD getProtection(const void *addr) {
bool Memory::setWritable(MemoryBlock &M, std::string *ErrMsg) {
if (!setRangeWritable(M.Address, M.Size)) {
- return MakeErrMsg(ErrMsg, "Cannot set memory to writeable: ");
+ return MakeErrMsg(ErrMsg, "Cannot set memory to writeable");
}
return true;
}
bool Memory::setExecutable(MemoryBlock &M, std::string *ErrMsg) {
if (!setRangeExecutable(M.Address, M.Size)) {
- return MakeErrMsg(ErrMsg, "Cannot set memory to executable: ");
+ return MakeErrMsg(ErrMsg, "Cannot set memory to executable");
}
return true;
}