diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2004-05-28 22:05:45 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2004-05-28 22:05:45 +0000 |
commit | e851b37384697a3f27e7a6eca391d25fc8ce9b60 (patch) | |
tree | 1fb7151f3cb2da8deedcc028054a47547ba4ac30 /gcc/c-common.c | |
parent | 9e6f2e7dcaf419d7db9e0ae7342a1f7bfb98ba26 (diff) | |
download | gcc-e851b37384697a3f27e7a6eca391d25fc8ce9b60.zip gcc-e851b37384697a3f27e7a6eca391d25fc8ce9b60.tar.gz gcc-e851b37384697a3f27e7a6eca391d25fc8ce9b60.tar.bz2 |
* c-common.c (fname_as_string): Fix xcalloc to xmalloc.
From-SVN: r82384
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 3cf1baa..c144787 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1119,7 +1119,7 @@ fname_as_string (int pretty_p) } else { - namep = (char *) xcalloc (strlen (name) + 1, sizeof (char)); + namep = xmalloc (strlen (name) + 1); namep = xstrdup (name); } |