From 1187dbdd104b08ae2d465e87bfb68bc1550d224c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 12 Sep 2014 09:44:44 +0800 Subject: ilo: fix a compile error with -Werror=format-security Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83777 --- src/gallium/drivers/ilo/shader/toy_compiler_disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3