diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-29 10:30:04 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-29 10:30:04 -0700 |
commit | ae0cd811892d55bee12afed88fd12bb2611517d3 (patch) | |
tree | c0b7f655f6323ab82271ac8776aae8f9d090e38b /src/mesa/math | |
parent | 5646964b1360883b6254e2ebacc198f43869d36f (diff) |
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
Diffstat (limited to 'src/mesa/math')
-rw-r--r-- | src/mesa/math/m_debug_clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/math/m_debug_clip.c b/src/mesa/math/m_debug_clip.c index 7ea5428aa2..e97afafac3 100644 --- a/src/mesa/math/m_debug_clip.c +++ b/src/mesa/math/m_debug_clip.c @@ -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 ) |