summaryrefslogtreecommitdiff
path: root/src/mesa/program/program_parse.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/program_parse.tab.c')
-rw-r--r--src/mesa/program/program_parse.tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/program_parse.tab.c b/src/mesa/program/program_parse.tab.c
index 31a609600b..08ead30def 100644
--- a/src/mesa/program/program_parse.tab.c
+++ b/src/mesa/program/program_parse.tab.c
@@ -5589,7 +5589,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);
}