summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-29 10:44:17 -0700
committerVinson Lee <vlee@vmware.com>2010-09-29 10:44:17 -0700
commit9c841abebc809be232032066c314d37231e595e2 (patch)
treebf5511af6497260709a76959d572a02af30b2508 /src
parentae0cd811892d55bee12afed88fd12bb2611517d3 (diff)
mesa: Fix printf format warning.
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
Diffstat (limited to 'src')
-rw-r--r--src/mesa/math/m_debug_norm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/math/m_debug_norm.c b/src/mesa/math/m_debug_norm.c
index 710bad14dd..02eb1f989f 100644
--- 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