summaryrefslogtreecommitdiff
path: root/ldso/ldso/dl-hash.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-14 23:07:46 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-14 23:07:46 +0000
commitdb5a9ef35b66e495feb4daf2e9576883dd52926f (patch)
treebb431894295e6ccb288eaf066c6297a7ac2504b1 /ldso/ldso/dl-hash.c
parentb998ae0611fc9abb6b093209a6c67aeb833e46ad (diff)
Sigh. I got things working this morning, then checked stuff in from the wrong
tree. Bad boy, No doughnut. -Erik
Diffstat (limited to 'ldso/ldso/dl-hash.c')
-rw-r--r--ldso/ldso/dl-hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/dl-hash.c b/ldso/ldso/dl-hash.c
index c6d4f1233..251ab6466 100644
--- a/ldso/ldso/dl-hash.c
+++ b/ldso/ldso/dl-hash.c
@@ -100,13 +100,13 @@ struct elf_resolve *_dl_add_elf_hash_table(const char *libname,
int i;
if (!_dl_loaded_modules) {
- tpnt = _dl_loaded_modules = (struct elf_resolve *) _dl_malloc_function(sizeof(struct elf_resolve));
+ tpnt = _dl_loaded_modules = (struct elf_resolve *) _dl_malloc(sizeof(struct elf_resolve));
_dl_memset(tpnt, 0, sizeof(struct elf_resolve));
} else {
tpnt = _dl_loaded_modules;
while (tpnt->next)
tpnt = tpnt->next;
- tpnt->next = (struct elf_resolve *) _dl_malloc_function(sizeof(struct elf_resolve));
+ tpnt->next = (struct elf_resolve *) _dl_malloc(sizeof(struct elf_resolve));
_dl_memset(tpnt->next, 0, sizeof(struct elf_resolve));
tpnt->next->prev = tpnt;
tpnt = tpnt->next;