X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fposix%2FOSMem.c;h=51737ad65057f0c33e866d121cf76b131970eee4;hb=1c45176f3b9be75b5c4744d9ef074430bf034e3f;hp=bdae2739f1191d9856bdeb79aa9b68295094b7a6;hpb=eb90092dad2a0b614d0aba5ed56d7d4eaf14b2ea;p=ghc-hetmet.git 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); } }