aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-03-04 21:22:52 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-03-04 21:22:52 +0000
commitaf18e951d4952c9aa06b35ace0f65e9ac5ffa5e3 (patch)
treeed3193ee308e3ada2f20207d9f28f77fd323a220 /libiberty
parentcff42170ce8d73a82a750fc9932e80d8318e5398 (diff)
downloadgcc-af18e951d4952c9aa06b35ace0f65e9ac5ffa5e3.zip
gcc-af18e951d4952c9aa06b35ace0f65e9ac5ffa5e3.tar.gz
gcc-af18e951d4952c9aa06b35ace0f65e9ac5ffa5e3.tar.bz2
* xmalloc.c (xmalloc_fail): Clarify error message further.
From-SVN: r50287
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 0cc30bd..0334c35 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 433fd5c..4c8249a 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 */