aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/riscv-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6a449ff..a229e1e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2021-01-15 Nelson Chu <nelson.chu@sifive.com>
+ * riscv-dis.c (parse_riscv_dis_option): Fix typos of message.
+
+2021-01-15 Nelson Chu <nelson.chu@sifive.com>
+
* riscv-dis.c: Comments tidy and improvement.
* riscv-opc.c: Likewise.
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index d6d66e4..b5883c3 100644
--- a/opcodes/riscv-dis.c
+++ b/opcodes/riscv-dis.c
@@ -101,7 +101,7 @@ parse_riscv_dis_option (const char *option)
{
enum riscv_priv_spec_class priv_spec = PRIV_SPEC_CLASS_NONE;
if (!riscv_get_priv_spec_class (value, &priv_spec))
- opcodes_error_handler (_("unknown privilege spec set by %s=%s"),
+ opcodes_error_handler (_("unknown privileged spec set by %s=%s"),
option, value);
else if (default_priv_spec == PRIV_SPEC_CLASS_NONE)
default_priv_spec = priv_spec;