vc4: Fix a -Wformat-security warning.

This is apparently enabled as an error in Android builds, and the compiler
can't tell that the return value is safe.
This commit is contained in:
Eric Anholt 2016-05-17 14:06:39 -07:00
parent 86f51d7958
commit 24e7e3d3fc

View file

@ -346,7 +346,7 @@ print_add_op(uint64_t inst)
if (is_mov)
fprintf(stderr, "mov");
else
fprintf(stderr, DESC(qpu_add_opcodes, op_add));
fprintf(stderr, "%s", DESC(qpu_add_opcodes, op_add));
if ((inst & QPU_SF) && op_add != QPU_A_NOP)
fprintf(stderr, ".sf");