summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-11-20 08:49:01 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-11-20 08:49:01 +0000
commit01014815a071a8ffd2fa1225c0f196a3e76fdb74 (patch)
tree3fb9fb47e09c4744aa97f23d65ee11d7fd3a0962 /rts
parentead1eed0b8ba1a7818ddc36f07e57b794e91483d (diff)
downloadhaskell-01014815a071a8ffd2fa1225c0f196a3e76fdb74.tar.gz
error message wibble
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 84c69cbf4c..4fcfadead5 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1324,7 +1324,7 @@ mmap_again:
if ((W_)result > 0x80000000) {
// oops, we were given memory over 2Gb
// ... try allocating memory somewhere else?;
- barf("loadObj: failed to mmap() memory below 2Gb; asked for %lu bytes at 0x%p, got 0x%p. Try specifying an address with +RTS -xm<addr> -RTS", bytes, map_addr, result);
+ barf("loadObj: failed to mmap() memory below 2Gb; asked for %lu bytes at %p, got %p. Try specifying an address with +RTS -xm<addr> -RTS", bytes, map_addr, result);
} else {
// hmm, we were given memory somewhere else, but it's
// still under 2Gb so we can use it. Next time, ask