- barf("makeExecutable: failed to protect 0x%p; error=%lu; old protection: %lu\n",
- addr, (unsigned long)GetLastError(), (unsigned long)dwOldProtect);
+ sysErrorBelch("makeExecutable: failed to protect 0x%p; old protection: %lu\n",
+ p, (unsigned long)dwOldProtect);
+ stg_exit(EXIT_FAILURE);