Commit b38dcbd4 authored by sof's avatar sof
Browse files

[project @ 2002-04-12 04:00:35 by sof]

getMBlocks(): if we run into a ENOMEM situation, report blocks requested
parent f0c6ec20
/* -----------------------------------------------------------------------------
* $Id: MBlock.c,v 1.27 2002/03/26 23:56:45 sof Exp $
* $Id: MBlock.c,v 1.28 2002/04/12 04:00:35 sof Exp $
*
* (c) The GHC Team 1998-1999
*
......@@ -76,7 +76,7 @@ getMBlocks(nat n)
if (ret == (void *)-1) {
if (errno == ENOMEM) {
barf("getMBlock: out of memory");
barf("getMBlock: out of memory (blocks requested: %d)", n);
} else {
barf("GetMBlock: mmap failed");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment