diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-03 01:55:59 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-03 01:55:59 +0000 |
commit | a7599ac8f1b84db67ae21605c746a0e6bc68d07d (patch) | |
tree | fd5d2c41dca6bd9a0b8c268a99674921e189fe0a /libiberty/xmalloc.c | |
parent | 66649c240c38ad59ae10a634879a853e4b1544b5 (diff) | |
download | gcc-a7599ac8f1b84db67ae21605c746a0e6bc68d07d.tar.gz |
* xmalloc.c (xmalloc): Fix spelling error.
(xcalloc, xrealloc): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29779 138bc75d-0d04-0410-961f-82ee72b054a4
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 be25c5aca19..621c6d216c7 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 */ |