wibble in setExecutable
[ghc-hetmet.git] / rts / win32 / OSMem.c
index f4c1264..4edb5bf 100644 (file)
@@ -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);
     }