summaryrefslogtreecommitdiff
path: root/rts/win32
diff options
context:
space:
mode:
authorAustin Seipp <mad.one@gmail.com>2009-03-20 12:00:43 +0000
committerAustin Seipp <mad.one@gmail.com>2009-03-20 12:00:43 +0000
commitc681514ad6151534062ff61c96a71e1c299977cc (patch)
treebd1151ba8311e6453568908b91ba9cbb46bc0e1e /rts/win32
parent97c4b27494addf0231724ca8339e818511256dcf (diff)
downloadhaskell-c681514ad6151534062ff61c96a71e1c299977cc.tar.gz
wibble in setExecutable
Diffstat (limited to 'rts/win32')
-rw-r--r--rts/win32/OSMem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/OSMem.c b/rts/win32/OSMem.c
index f4c126403a..4edb5bf2be 100644
--- 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)
{
- 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);
}