diff options
author | Vinson Lee <[email protected]> | 2010-09-02 16:12:58 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-02 16:12:58 -0700 |
commit | 3888c38fc9e7debc53a901295af0027801c4ae74 (patch) | |
tree | 7bc862ab258bc17c9dd3f984eaa5f7d7adedaab1 /src/mesa/program/program_parse.y | |
parent | c5dde53f4e42612518cd927bb58f08c0e22db17a (diff) |
mesa: Fix printf-like warning.
Diffstat (limited to 'src/mesa/program/program_parse.y')
-rw-r--r-- | src/mesa/program/program_parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program_parse.y b/src/mesa/program/program_parse.y index fb6ef85a9fc..cf621ae4244 100644 --- a/src/mesa/program/program_parse.y +++ b/src/mesa/program/program_parse.y @@ -2628,7 +2628,7 @@ yyerror(YYLTYPE *locp, struct asm_parser_state *state, const char *s) err_str = make_error_string("glProgramStringARB(%s)\n", s); if (err_str) { - _mesa_error(state->ctx, GL_INVALID_OPERATION, err_str); + _mesa_error(state->ctx, GL_INVALID_OPERATION, "%s", err_str); free(err_str); } |