summaryrefslogtreecommitdiff
path: root/usr.bin/oasm/emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/oasm/emit.c')
-rw-r--r--usr.bin/oasm/emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/oasm/emit.c b/usr.bin/oasm/emit.c
index e3ee366..9a8b1ee 100644
--- a/usr.bin/oasm/emit.c
+++ b/usr.bin/oasm/emit.c
@@ -107,7 +107,7 @@ emit_encode_mov(struct emit_state *state, struct oasm_token *tok)
/* Next token should be an IMM */
tok = TAILQ_NEXT(tok, link);
if (tok == NULL) {
- oasm_err("[emit error]: bad 'move' order\n");
+ oasm_err("[emit error]: bad 'mov' order\n");
return NULL;
}
if (tok->type != TT_IMM) {