summaryrefslogtreecommitdiff
path: root/masm/reltab.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-22 16:02:42 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-22 16:02:42 -0400
commit85471efb4c740bb775c9ebdb10f775620c979598 (patch)
treec4afa5cf8108df4192e73488c4da271ed166217c /masm/reltab.c
parentupdate make clear (diff)
downloadmips-85471efb4c740bb775c9ebdb10f775620c979598.tar.gz
mips-85471efb4c740bb775c9ebdb10f775620c979598.tar.bz2
mips-85471efb4c740bb775c9ebdb10f775620c979598.zip
mld done
Diffstat (limited to '')
-rw-r--r--masm/reltab.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}