summaryrefslogtreecommitdiff
path: root/masm/strtab.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/strtab.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/strtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/masm/strtab.c b/masm/strtab.c
index 57d3d0e..404ea73 100644
--- a/masm/strtab.c
+++ b/masm/strtab.c
@@ -41,7 +41,7 @@ int strtab_init(struct str_table *strtab)
strtab->size = 1;
strtab->ptr = malloc(1);
if (strtab->ptr == NULL) {
- ERROR("cannot alloc");
+ PERROR("cannot alloc");
return M_ERROR;
}
*strtab->ptr = '\0';