diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-03-22 21:52:52 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-03-22 21:52:52 +0000 |
commit | c48df281071bfd16b06144ec2630b6e783fb98d3 (patch) | |
tree | c9d279860bcfba4c6ca715902df4b99df9cfff57 /bfd/hash.c | |
parent | f653b9f0623cc2f92197e5465507e37d55a8c1b1 (diff) | |
download | binutils-redhat-c48df281071bfd16b06144ec2630b6e783fb98d3.tar.gz |
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.
Diffstat (limited to 'bfd/hash.c')
-rw-r--r-- | bfd/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hash.c b/bfd/hash.c index a81b38ccef..21c6293e14 100644 --- a/bfd/hash.c +++ b/bfd/hash.c @@ -555,7 +555,7 @@ strtab_hash_newfunc (struct bfd_hash_entry *entry, /* Allocate the structure if it has not already been allocated by a subclass. */ if (ret == NULL) - ret = bfd_hash_allocate (table, sizeof (* entry)); + ret = bfd_hash_allocate (table, sizeof (* ret)); if (ret == NULL) return NULL; |