mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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:
parent
86f51d7958
commit
24e7e3d3fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue