projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae0cd81
)
mesa: Fix printf format warning.
author
Vinson Lee
<vlee@vmware.com>
Wed, 29 Sep 2010 17:44:17 +0000
(10:44 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 29 Sep 2010 17:44:17 +0000
(10:44 -0700)
Fixes this GCC warning.
math/m_debug_norm.c: In function '_math_test_all_normal_transform_functions':
math/m_debug_norm.c:365: warning: format not a string literal and no format arguments
src/mesa/math/m_debug_norm.c
patch
|
blob
|
history
diff --git
a/src/mesa/math/m_debug_norm.c
b/src/mesa/math/m_debug_norm.c
index
710bad1
..
02eb1f9
100644
(file)
--- a/
src/mesa/math/m_debug_norm.c
+++ b/
src/mesa/math/m_debug_norm.c
@@
-362,7
+362,7
@@
void _math_test_all_normal_transform_functions( char *description )
char buf[100];
sprintf( buf, "_mesa_normal_tab[0][%s] failed test (%s)",
norm_strings[mtype], description );
- _mesa_problem( NULL, buf );
+ _mesa_problem( NULL,
"%s",
buf );
}
#ifdef RUN_DEBUG_BENCHMARK