diff options
author | DJ Delorie <dj@delorie.com> | 2002-03-04 00:55:25 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2002-03-04 00:55:25 +0000 |
commit | 7c82909e91f30ebfab044fe9c150e1ac0b285455 (patch) | |
tree | 0bd0e756ec1380689315c1730562d7b0b1e5634a /libiberty/xmalloc.c | |
parent | f99593ae52fc110f619d407442c6a64b9e66d111 (diff) | |
download | gdb-7c82909e91f30ebfab044fe9c150e1ac0b285455.tar.gz |
merge from gcc
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 */ |