summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 9eed5993027..5c52d3a148c 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -891,7 +891,7 @@ vec4_visitor::dump_instruction(vec4_instruction *inst)
static const char *chans[4] = {"x", "y", "z", "w"};
printf(".");
for (int c = 0; c < 4; c++) {
- printf(chans[BRW_GET_SWZ(inst->src[i].swizzle, c)]);
+ printf("%s", chans[BRW_GET_SWZ(inst->src[i].swizzle, c)]);
}
if (i < 3)