From c0e219ccea3d7f4d1dd89fdd2838f6d24745cacc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 10 Oct 2000 23:38:27 +0000 Subject: [PATCH] Fix my last change to actually compile. --- bfd/ChangeLog | 4 ++++ bfd/ieee.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4f2fb8dd3b3..0376e8c4ee9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2000-10-11 Alan Modra + + * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg. + 2000-10-10 Alan Modra * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. diff --git a/bfd/ieee.c b/bfd/ieee.c index 97ad7cc844e..69d3edc36cc 100644 --- a/bfd/ieee.c +++ b/bfd/ieee.c @@ -3725,7 +3725,7 @@ ieee_make_empty_symbol (abfd) bfd *abfd; { ieee_symbol_type *new = - (ieee_symbol_type *) bfd_zalloc (sizeof (ieee_symbol_type)); + (ieee_symbol_type *) bfd_zalloc (abfd, sizeof (ieee_symbol_type)); if (!new) return NULL; new->symbol.the_bfd = abfd; -- 2.30.2