mesa: Fix printf format warning.
[mesa.git] / src / mesa / math / m_debug_clip.c
index 7ea5428aa2648a9387e51754c3c1299a78b48883..e97afafac3cb981a200c5b2ab7a15b648194c994 100644 (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 )