projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wibble in setExecutable
[ghc-hetmet.git]
/
rts
/
win32
/
OSMem.c
diff --git
a/rts/win32/OSMem.c
b/rts/win32/OSMem.c
index
f4c1264
..
4edb5bf
100644
(file)
--- a/
rts/win32/OSMem.c
+++ b/
rts/win32/OSMem.c
@@
-255,7
+255,7
@@
void setExecutable (void *p, lnat len, rtsBool exec)
exec ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE,
&dwOldProtect) == 0)
{
exec ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE,
&dwOldProtect) == 0)
{
- sysErrorBelch("makeExecutable: failed to protect 0x%p; old protection: %lu\n",
+ sysErrorBelch("setExecutable: failed to protect 0x%p; old protection: %lu\n",
p, (unsigned long)dwOldProtect);
stg_exit(EXIT_FAILURE);
}
p, (unsigned long)dwOldProtect);
stg_exit(EXIT_FAILURE);
}