diff options
author | Ian Lynagh <igloo@earth.li> | 2012-04-30 20:37:29 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-04-30 20:37:29 +0100 |
commit | 117c4a834a49afdd73527ec68dadf7348f6cf4e9 (patch) | |
tree | 3cb678952f067e0a1388c586869160ef43fd551e /rts/posix | |
parent | 8a25d8afa97805a76e4d374ee91faaf9e54b02d5 (diff) | |
download | haskell-117c4a834a49afdd73527ec68dadf7348f6cf4e9.tar.gz |
Fixes for x86/Linux
Diffstat (limited to 'rts/posix')
-rw-r--r-- | rts/posix/OSMem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c index bfe12964a2..509fc5e88d 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -122,7 +122,7 @@ my_mmap (void *addr, lnat size) (errno == EINVAL && sizeof(void*)==4 && size >= 0xc0000000)) { // If we request more than 3Gig, then we get EINVAL // instead of ENOMEM (at least on Linux). - errorBelch("out of memory (requested %lu bytes)", size); + errorBelch("out of memory (requested %" FMT_SizeT " bytes)", size); stg_exit(EXIT_FAILURE); } else { barf("getMBlock: mmap: %s", strerror(errno)); |