summaryrefslogtreecommitdiff
path: root/usr.bin/oasm/emit.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-21 03:50:28 -0400
committerIan Moffett <ian@osmora.org>2025-07-21 03:50:28 -0400
commit7682f925f0fcbb140505e8102200bf0a30e7e008 (patch)
treee7d891075eb5264044835a3f0737da85c9545d8c /usr.bin/oasm/emit.c
parentbcfa12cbd1f4abc5206c9496d8d0ba844c50ce09 (diff)
oasm: emit: Fix typo
Signed-off-by: Ian Moffett <ian@osmora.org>
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) {