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