mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
mesa: Fix printf format warning.
Fixes this GCC warning. math/m_debug_xform.c: In function '_math_test_all_transform_functions': math/m_debug_xform.c:320: warning: format not a string literal and no format arguments
This commit is contained in:
parent
9c841abebc
commit
aa62416ae1
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ void _math_test_all_transform_functions( char *description )
|
|||
char buf[100];
|
||||
sprintf(buf, "_mesa_transform_tab[0][%d][%s] failed test (%s)",
|
||||
psize, mstrings[mtype], description );
|
||||
_mesa_problem( NULL, buf );
|
||||
_mesa_problem( NULL, "%s", buf );
|
||||
}
|
||||
#ifdef RUN_DEBUG_BENCHMARK
|
||||
if ( mesa_profile )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue