Commit af18e951 by Neil Booth Committed by Neil Booth

* xmalloc.c (xmalloc_fail): Clarify error message further.

From-SVN: r50287
parent cff42170
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) ...@@ -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 */
......
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