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