summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}