summaryrefslogtreecommitdiff
path: root/masm/strtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'masm/strtab.c')
-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';