aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xmalloc.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-03-03 21:57:57 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-03-03 21:57:57 +0000
commitd8d7c3c3e359fcb00d2d9d98fd0db38676f51b7e (patch)
tree24adf4a32335f2268033553f8cbb6a9162006338 /libiberty/xmalloc.c
parent8ce0a8a5c9513a25484275a2c25cac1497d8828c (diff)
downloadgcc-d8d7c3c3e359fcb00d2d9d98fd0db38676f51b7e.zip
gcc-d8d7c3c3e359fcb00d2d9d98fd0db38676f51b7e.tar.gz
gcc-d8d7c3c3e359fcb00d2d9d98fd0db38676f51b7e.tar.bz2
* xmalloc.c (xmalloc_fail): Clarify error message.
From-SVN: r50265
Diffstat (limited to 'libiberty/xmalloc.c')
-rw-r--r--libiberty/xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c
index bf0cf2d..433fd5c 100644
--- a/libiberty/xmalloc.c
+++ b/libiberty/xmalloc.c
@@ -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 */