summaryrefslogtreecommitdiffstats
path: root/libiberty
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-04 21:22:52 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-04 21:22:52 +0000
commit5e571023ebf0ad21b2dc1744b9e29a975fc9372b (patch)
treeed3193ee308e3ada2f20207d9f28f77fd323a220 /libiberty
parenta06a3d20089e1ffa2db3eba8e9dda312fc7418ee (diff)
downloadppe42-gcc-5e571023ebf0ad21b2dc1744b9e29a975fc9372b.tar.gz
ppe42-gcc-5e571023ebf0ad21b2dc1744b9e29a975fc9372b.zip
* xmalloc.c (xmalloc_fail): Clarify error message further.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/xmalloc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 0cc30bd4f70..0334c35d9b9 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -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>
* xmalloc.c (xmalloc_fail): Clarify error message.
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c
index 433fd5ce3f3..4c8249ae70b 100644
--- a/libiberty/xmalloc.c
+++ b/libiberty/xmalloc.c
@@ -120,7 +120,7 @@ xmalloc_failed (size)
else
allocated = (char *) sbrk (0) - (char *) &environ;
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 ? ": " : "",
(unsigned long) size, (unsigned long) allocated);
#else /* HAVE_SBRK */
OpenPOWER on IntegriCloud