Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
c408face
Commit
c408face
authored
Oct 17, 2007
by
Simon Marlow
Browse files
fix an error message (barf -> sysErrorBelch)
parent
0a7fe9ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/win32/OSMem.c
View file @
c408face
...
...
@@ -30,7 +30,8 @@ void setExecutable (void *p, lnat len, rtsBool exec)
exec
?
PAGE_EXECUTE_READWRITE
:
PAGE_READWRITE
,
&
dwOldProtect
)
==
0
)
{
barf
(
"makeExecutable: failed to protect 0x%p; error=%lu; old protection: %lu
\n
"
,
p
,
(
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
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment