projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5646964
)
mesa: Fix printf format warning.
author
Vinson Lee
<vlee@vmware.com>
Wed, 29 Sep 2010 17:30:04 +0000
(10:30 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 29 Sep 2010 17:30:04 +0000
(10:30 -0700)
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
src/mesa/math/m_debug_clip.c
patch
|
blob
|
history
diff --git
a/src/mesa/math/m_debug_clip.c
b/src/mesa/math/m_debug_clip.c
index 7ea5428aa2648a9387e51754c3c1299a78b48883..e97afafac3cb981a200c5b2ab7a15b648194c994 100644
(file)
--- 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 )