Mesa (master): gallium: fix debug_printf() format string

Brian Paul brianp at kemper.freedesktop.org
Tue Aug 11 15:30:50 UTC 2009


Module: Mesa
Branch: master
Commit: bb45e6f07bdb26df2e4d6ecddaae9b9c5ba0809e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb45e6f07bdb26df2e4d6ecddaae9b9c5ba0809e

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug 11 09:30:12 2009 -0600

gallium: fix debug_printf() format string

---

 src/gallium/auxiliary/tgsi/tgsi_ppc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.c b/src/gallium/auxiliary/tgsi/tgsi_ppc.c
index 922f147..2d6ad12 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 ?




More information about the mesa-commit mailing list