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

From-SVN: r50265
This commit is contained in:
Neil Booth 2002-03-03 21:57:57 +00:00 committed by Neil Booth
parent 8ce0a8a5c9
commit d8d7c3c3e3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
* xmalloc.c (xmalloc_fail): Clarify error message.
2002-02-22 Jim Blandy <jimb@redhat.com>
* splay-tree.c (splay_tree_xmalloc_allocate,

View File

@ -120,12 +120,12 @@ xmalloc_failed (size)
else
allocated = (char *) sbrk (0) - (char *) &environ;
fprintf (stderr,
"\n%s%sCannot allocate %lu bytes after allocating %lu bytes\n",
"\n%s%sout of memory allocating %lu bytes after allocating %lu bytes\n",
name, *name ? ": " : "",
(unsigned long) size, (unsigned long) allocated);
#else /* HAVE_SBRK */
fprintf (stderr,
"\n%s%sCannot allocate %lu bytes\n",
"\n%s%sout of memory allocating %lu bytes\n",
name, *name ? ": " : "",
(unsigned long) size);
#endif /* HAVE_SBRK */