From 8025a164287b588f450686a4b81f6001c33e4269 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 13 Jun 2022 11:06:27 +0200 Subject: [PATCH] x86: fix incorrect indirection Commit 384e201e5aec ("x86: properly initialize struct instr_info instance(s)") was based on an improperly refreshed patch. Correct the oversight. --- opcodes/i386-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 5d851a269dc..22efc4f50bc 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -9798,7 +9798,7 @@ print_insn (bfd_vma pc, disassemble_info *info, int intel_syntax) /* Calculate the number of operands this instruction has. */ op_count = 0; for (i = 0; i < MAX_OPERANDS; ++i) - if (*ins->op_out[i] != '\0') + if (*ins.op_out[i] != '\0') ++op_count; /* Calculate the number of spaces to print after the mnemonic. */ -- 2.30.2