summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-12 09:44:44 +0800
committerChia-I Wu <[email protected]>2014-09-12 09:45:42 +0800
commit1187dbdd104b08ae2d465e87bfb68bc1550d224c (patch)
treeca5fa83c2ed5cd8691acdc86b48a58513745d128 /src/gallium/drivers/ilo
parent7aeb853c90c2e84fdd4b6b0af97566562c912861 (diff)
ilo: fix a compile error with -Werror=format-security
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83777
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/shader/toy_compiler_disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c b/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c
index a40d0cdb84f..63fc5e49ade 100644
--- a/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c
+++ b/src/gallium/drivers/ilo/shader/toy_compiler_disasm.c
@@ -1017,7 +1017,7 @@ disasm_printer_add_operand(struct disasm_printer *printer,
name = disasm_inst_file(inst, operand, &multi_regs);
if (!multi_regs) {
- disasm_printer_add(printer, name);
+ disasm_printer_add(printer, "%s", name);
return;
}