summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorGintautas Miliauskas <gintautas.miliauskas@gmail.com>2014-10-29 18:16:12 -0500
committerAustin Seipp <austin@well-typed.com>2014-10-29 18:16:12 -0500
commit208a0c207c1001da0fe63e9640e2a7e0e11c4aff (patch)
treebea1c57aa61413635c7b74c5ca0b025b8df6e46c /rts
parent64d0a198be05c7baff36e43ab96928a402f00a19 (diff)
downloadhaskell-208a0c207c1001da0fe63e9640e2a7e0e11c4aff.tar.gz
Fixed unused variable warning on mingw32/i686 in rts/Linker.c
The warning was breaking validate.sh runs due to -Wall. Reviewers: austin Reviewed By: austin Subscribers: #ghc_windows_task_force, thomie, carter, simonmar Differential Revision: https://phabricator.haskell.org/D400
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index c40086de5a..35cee2c44c 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -3706,8 +3706,8 @@ allocateImageAndTrampolines (
PAGE_EXECUTE_READWRITE);
if (image == NULL) {
- errorBelch("%" PATH_FMT ": failed to allocate memory for image",
- arch_name);
+ errorBelch("%" PATH_FMT ": failed to allocate memory for image for %s",
+ arch_name, member_name);
return NULL;
}