mesa: Fix printf-like warning.

This commit is contained in:
Vinson Lee
2010-09-02 16:12:58 -07:00
parent c5dde53f4e
commit 3888c38fc9
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}