diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/oasm/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/oasm/parse.c b/usr.bin/oasm/parse.c index e288d6e..673fbcd 100644 --- a/usr.bin/oasm/parse.c +++ b/usr.bin/oasm/parse.c @@ -182,7 +182,7 @@ parse_tok(struct oasm_state *state, struct oasm_token *tok) case TT_IMM: p = tokstr[state->last]; if (!tok_is_xreg(state->last)) { - printf("expected X<n> but got %s\n", p); + oasm_err("expected X<n> but got %s\n", p); return -1; } emit_osmx64(&emit_state, tok); |