From 6e9980f54df6cf81d20788b616b9e474b41f82d5 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 4 Mar 2002 00:55:25 +0000 Subject: merge from gcc --- libiberty/xmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libiberty/xmalloc.c') 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 */ -- cgit v1.1