summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-20 01:52:55 -0400
committerIan Moffett <ian@osmora.org>2025-07-20 01:52:55 -0400
commitcbfdaea7fb9aef02e43292fa0a317419e1d5df62 (patch)
treec245952ce2169f2bfe5c048512120f49b51349e1 /usr.bin
parent6759631b90b0ee1a2ce52be410fbe9173b3c2af5 (diff)
usr: oasm: Add quotes around token name
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/oasm/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/oasm/lex.c b/usr.bin/oasm/lex.c
index a61c62a..bd0b8f7 100644
--- a/usr.bin/oasm/lex.c
+++ b/usr.bin/oasm/lex.c
@@ -264,7 +264,7 @@ lex_tok(struct oasm_state *state, struct oasm_token *ttp)
ttp->raw = p;
return 0;
}
- oasm_err("bad token %s\n", p);
+ oasm_err("bad token \"%s\"\n", p);
return -1;
}