diff options
author | Austin Seipp <mad.one@gmail.com> | 2009-03-20 12:00:43 +0000 |
---|---|---|
committer | Austin Seipp <mad.one@gmail.com> | 2009-03-20 12:00:43 +0000 |
commit | c681514ad6151534062ff61c96a71e1c299977cc (patch) | |
tree | bd1151ba8311e6453568908b91ba9cbb46bc0e1e /rts/posix/OSMem.c | |
parent | 97c4b27494addf0231724ca8339e818511256dcf (diff) | |
download | haskell-c681514ad6151534062ff61c96a71e1c299977cc.tar.gz |
wibble in setExecutable
Diffstat (limited to 'rts/posix/OSMem.c')
-rw-r--r-- | rts/posix/OSMem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index bdae2739f1..51737ad650 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -237,6 +237,6 @@ void setExecutable (void *p, lnat len, rtsBool exec) StgWord size = startOfLastPage - startOfFirstPage + pageSize; if (mprotect((void*)startOfFirstPage, (size_t)size, (exec ? PROT_EXEC : 0) | PROT_READ | PROT_WRITE) != 0) { - barf("makeExecutable: failed to protect 0x%p\n", p); + barf("setExecutable: failed to protect 0x%p\n", p); } } |