diff options
author | Vinson Lee <[email protected]> | 2010-09-02 16:03:32 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-02 16:03:32 -0700 |
commit | c5dde53f4e42612518cd927bb58f08c0e22db17a (patch) | |
tree | 5ba8615acf5b4b4f286d00bf182f8d4b994671b8 /src/mesa/main/texenvprogram.c | |
parent | f8d11b2e8ebaab2845080900ff4a2068f9a20b5f (diff) |
mesa: Fix printf-like warnings.
Diffstat (limited to 'src/mesa/main/texenvprogram.c')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 9fa8f02a8b0..20f02cefe94 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -907,7 +907,7 @@ static struct ureg get_zero( struct texenv_fragment_program *p ) static void program_error( struct texenv_fragment_program *p, const char *msg ) { - _mesa_problem(NULL, msg); + _mesa_problem(NULL, "%s", msg); p->error = 1; } |