X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2Fposix%2FOSMem.c;h=51737ad65057f0c33e866d121cf76b131970eee4;hp=bdae2739f1191d9856bdeb79aa9b68295094b7a6;hb=c681514ad6151534062ff61c96a71e1c299977cc;hpb=97c4b27494addf0231724ca8339e818511256dcf diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index bdae273..51737ad 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); } }