From: Brian Paul Date: Tue, 11 Aug 2009 15:30:12 +0000 (-0600) Subject: gallium: fix debug_printf() format string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb45e6f07bdb26df2e4d6ecddaae9b9c5ba0809e;p=mesa.git gallium: fix debug_printf() format string --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.c b/src/gallium/auxiliary/tgsi/tgsi_ppc.c index 922f147b946..2d6ad12ffbd 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ppc.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ppc.c @@ -1319,7 +1319,7 @@ tgsi_emit_ppc(const struct tgsi_token *tokens, if (!ok) { uint opcode = parse.FullToken.FullInstruction.Instruction.Opcode; - debug_printf("failed to translate tgsi opcode %d to PPC (%s)\n", + debug_printf("failed to translate tgsi opcode %d (%s) to PPC (%s)\n", opcode, tgsi_get_opcode_name(opcode), parse.FullHeader.Processor.Processor == TGSI_PROCESSOR_VERTEX ?