From 85471efb4c740bb775c9ebdb10f775620c979598 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 22 Sep 2024 16:02:42 -0400 Subject: mld done --- masm/reltab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'masm/reltab.c') diff --git a/masm/reltab.c b/masm/reltab.c index 482ed44..afbd5e7 100644 --- a/masm/reltab.c +++ b/masm/reltab.c @@ -13,7 +13,7 @@ int reltab_init(struct relocation_table *reltab) reltab->data = malloc(sizeof(Elf32_Rela) * RELTAB_INIT_LEN); if (reltab->data == NULL) { - ERROR("cannot alloc"); + PERROR("cannot alloc"); return M_ERROR; } @@ -33,7 +33,7 @@ int reltab_push(struct relocation_table *reltab, const Elf32_Rela rel) * reltab->size); if (reltab->data == NULL) { - ERROR("cannot realloc"); + PERROR("cannot realloc"); return M_ERROR; } } -- cgit v1.2.3-freya