mesa: Fix printf format warning.

Fixes this GCC warning.
math/m_debug_clip.c: In function '_math_test_all_cliptest_functions':
math/m_debug_clip.c:363: warning: format not a string literal and no format arguments
This commit is contained in:
Vinson Lee 2010-09-29 10:30:04 -07:00
parent 5646964b13
commit ae0cd81189

View file

@ -360,7 +360,7 @@ void _math_test_all_cliptest_functions( char *description )
char buf[100];
sprintf( buf, "%s[%d] failed test (%s)",
cnames[np], psize, description );
_mesa_problem( NULL, buf );
_mesa_problem( NULL, "%s", buf );
}
#ifdef RUN_DEBUG_BENCHMARK
if ( mesa_profile )