summaryrefslogtreecommitdiff
path: root/masm/lex.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/lex.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/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/masm/lex.c b/masm/lex.c
index 37adf8e..8b68932 100644
--- a/masm/lex.c
+++ b/masm/lex.c
@@ -309,7 +309,7 @@ int lexer_init(const char *path, struct lexer *lexer)
{
FILE *file = fopen(path, "r");
if (file == NULL) {
- ERROR("cannot read '%s'", path);
+ PERROR("cannot read '%s'", path);
return M_ERROR;
}
lexer->file = file;