diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-03 21:57:57 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-03 21:57:57 +0000 |
commit | 323c06f5e0889d0b13730ded125be6bcdfe5c9c4 (patch) | |
tree | 24adf4a32335f2268033553f8cbb6a9162006338 /libiberty/xmalloc.c | |
parent | 7bc16a7d656758c9c071bf456e4f9a1017b0b95c (diff) | |
download | gcc-323c06f5e0889d0b13730ded125be6bcdfe5c9c4.tar.gz |
* xmalloc.c (xmalloc_fail): Clarify error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50265 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/xmalloc.c')
-rw-r--r-- | libiberty/xmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c index bf0cf2d6ed4..433fd5ce3f3 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 */ |