aboutsummaryrefslogtreecommitdiff
path: root/opcodes/lm32-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/lm32-dis.c')
-rw-r--r--opcodes/lm32-dis.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/opcodes/lm32-dis.c b/opcodes/lm32-dis.c
index f5b7654..90e67c7 100644
--- a/opcodes/lm32-dis.c
+++ b/opcodes/lm32-dis.c
@@ -144,9 +144,10 @@ lm32_cgen_print_operand (CGEN_CPU_DESC cd,
default :
/* xgettext:c-format */
- fprintf (stderr, _("Unrecognized field %d while printing insn.\n"),
- opindex);
- abort ();
+ opcodes_error_handler
+ (_("internal error: unrecognized field %d while printing insn"),
+ opindex);
+ abort ();
}
}