* xmalloc.c (xmalloc_fail): Clarify error message further.
From-SVN: r50287
This commit is contained in:
parent
cff42170ce
commit
af18e951d4
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
|
* xmalloc.c (xmalloc_fail): Clarify error message further.
|
||||||
|
|
||||||
2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
|
2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||||
|
|
||||||
* xmalloc.c (xmalloc_fail): Clarify error message.
|
* xmalloc.c (xmalloc_fail): Clarify error message.
|
||||||
|
|
|
@ -120,7 +120,7 @@ xmalloc_failed (size)
|
||||||
else
|
else
|
||||||
allocated = (char *) sbrk (0) - (char *) &environ;
|
allocated = (char *) sbrk (0) - (char *) &environ;
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"\n%s%sout of memory allocating %lu bytes after allocating %lu bytes\n",
|
"\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",
|
||||||
name, *name ? ": " : "",
|
name, *name ? ": " : "",
|
||||||
(unsigned long) size, (unsigned long) allocated);
|
(unsigned long) size, (unsigned long) allocated);
|
||||||
#else /* HAVE_SBRK */
|
#else /* HAVE_SBRK */
|
||||||
|
|
Loading…
Add table
Reference in a new issue