diff options
author | Ian Lance Taylor <ian@airs.com> | 2000-02-22 16:14:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2000-02-22 16:14:35 +0000 |
commit | 0c0a36a40386d288fe8d6d86efc2b178ef7eb465 (patch) | |
tree | b3724fb2dc3695a219f27800279c7e3041e2131b /libiberty/xmalloc.c | |
parent | abd8680d6efd97e7ba848a6392ee3ad72be18cd0 (diff) | |
download | gdb-0c0a36a40386d288fe8d6d86efc2b178ef7eb465.zip gdb-0c0a36a40386d288fe8d6d86efc2b178ef7eb465.tar.gz gdb-0c0a36a40386d288fe8d6d86efc2b178ef7eb465.tar.bz2 |
merge with libiberty from egcs 2000-02-22
Diffstat (limited to 'libiberty/xmalloc.c')
-rw-r--r-- | libiberty/xmalloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c index be25c5a..621c6d2 100644 --- a/libiberty/xmalloc.c +++ b/libiberty/xmalloc.c @@ -81,12 +81,12 @@ xmalloc (size) else allocated = (char *) sbrk (0) - (char *) &environ; fprintf (stderr, - "\n%s%sCan not allocate %lu bytes after allocating %lu bytes\n", + "\n%s%sCannot allocate %lu bytes after allocating %lu bytes\n", name, *name ? ": " : "", (unsigned long) size, (unsigned long) allocated); #else /* HAVE_SBRK */ fprintf (stderr, - "\n%s%sCan not allocate %lu bytes\n", + "\n%s%sCannot allocate %lu bytes\n", name, *name ? ": " : "", (unsigned long) size); #endif /* HAVE_SBRK */ @@ -116,12 +116,12 @@ xcalloc (nelem, elsize) else allocated = (char *) sbrk (0) - (char *) &environ; fprintf (stderr, - "\n%s%sCan not allocate %lu bytes after allocating %lu bytes\n", + "\n%s%sCannot allocate %lu bytes after allocating %lu bytes\n", name, *name ? ": " : "", (unsigned long) (nelem * elsize), (unsigned long) allocated); #else /* HAVE_SBRK */ fprintf (stderr, - "\n%s%sCan not allocate %lu bytes\n", + "\n%s%sCannot allocate %lu bytes\n", name, *name ? ": " : "", (unsigned long) (nelem * elsize)); #endif /* HAVE_SBRK */ @@ -154,12 +154,12 @@ xrealloc (oldmem, size) else allocated = (char *) sbrk (0) - (char *) &environ; fprintf (stderr, - "\n%s%sCan not reallocate %lu bytes after allocating %lu bytes\n", + "\n%s%sCannot reallocate %lu bytes after allocating %lu bytes\n", name, *name ? ": " : "", (unsigned long) size, (unsigned long) allocated); #else /* HAVE_SBRK */ fprintf (stderr, - "\n%s%sCan not reallocate %lu bytes\n", + "\n%s%sCannot reallocate %lu bytes\n", name, *name ? ": " : "", (unsigned long) size); #endif /* HAVE_SBRK */ |