]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* xmalloc.c (xmalloc_fail): Clarify error message.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sun, 3 Mar 2002 21:57:57 +0000 (21:57 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 3 Mar 2002 21:57:57 +0000 (21:57 +0000)
From-SVN: r50265

libiberty/ChangeLog
libiberty/xmalloc.c

index 5c9334711cc21bad7f46f47360c4b340ceb5d2fe..0cc30bd4f70ec9ed02ae015ce485e909b5cd4abd 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-03  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * xmalloc.c (xmalloc_fail): Clarify error message.
+
 2002-02-22  Jim Blandy  <jimb@redhat.com>
 
        * splay-tree.c (splay_tree_xmalloc_allocate,
index bf0cf2d6ed4d546349e5ab480143ebaaf4113cca..433fd5ce3f3e393aa44c120b5d027808bb125e96 100644 (file)
@@ -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 */