r600g: add missing printf operand
authorDave Airlie <airlied@redhat.com>
Sun, 5 Sep 2010 23:13:12 +0000 (09:13 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 5 Sep 2010 23:15:41 +0000 (09:15 +1000)
src/gallium/drivers/r600/r600_asm.c

index 6483dac70398dfed47c849b01d6e73796796b525..bf3d31cd2b0c2be1d4facc73e90f0963f387be94 100644 (file)
@@ -376,7 +376,7 @@ static int r600_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsign
        }
        if (alu->last) {
                if (alu->nliteral && !alu->literal_added) {
-                       R600_ERR("Bug in ALU processing for instruction 0x%08x, literal not added correctly\n");
+                       R600_ERR("Bug in ALU processing for instruction 0x%08x, literal not added correctly\n", alu->inst);
                }
                for (i = 0; i < alu->nliteral; i++) {
                        bc->bytecode[id++] = alu->value[i];