diff options
author | Eric Anholt <[email protected]> | 2016-05-17 14:06:39 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-05-17 18:07:39 -0700 |
commit | 24e7e3d3fcecc882c420e60e882675a8e32edce8 (patch) | |
tree | 103ab97e1867d0cb1c49f4a22851c41fcdffc8a2 /src | |
parent | 86f51d7958ab56e358da942ae46a04e305c78436 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qpu_disasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_disasm.c b/src/gallium/drivers/vc4/vc4_qpu_disasm.c index 673c1bba092..d48e753df3d 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_disasm.c +++ b/src/gallium/drivers/vc4/vc4_qpu_disasm.c @@ -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"); |