aboutsummaryrefslogtreecommitdiff
path: root/bfd/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hash.c')
-rw-r--r--bfd/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hash.c b/bfd/hash.c
index a81b38c..21c6293 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;