summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/libiberty/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/libiberty/xmalloc.c')
-rw-r--r--contrib/binutils/libiberty/xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/libiberty/xmalloc.c b/contrib/binutils/libiberty/xmalloc.c
index bf0cf2d..4c8249a 100644
--- a/contrib/binutils/libiberty/xmalloc.c
+++ b/contrib/binutils/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 a total of %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 */
OpenPOWER on IntegriCloud