From: Alan Modra Date: Wed, 20 Jul 2022 03:17:38 +0000 (+0930) Subject: Re: opcodes/arc: Implement style support in the disassembler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bc99604e84163fc3d749866ee9819d5aa22c28e;p=binutils-gdb.git Re: opcodes/arc: Implement style support in the disassembler * arc-dis.c (print_insn_arc): Fix thinko. --- diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c index dbaa96178a8..3490bad4f66 100644 --- a/opcodes/arc-dis.c +++ b/opcodes/arc-dis.c @@ -1408,7 +1408,7 @@ print_insn_arc (bfd_vma memaddr, "%s", rname); else (*info->fprintf_styled_func) (info->stream, dis_style_immediate, - "%" PRIx32, value); + "%#x", value); } }