summaryrefslogtreecommitdiff
path: root/src/mesa/shader/program_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/program_parse.y')
-rw-r--r--src/mesa/shader/program_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/program_parse.y b/src/mesa/shader/program_parse.y
index 75cb4cf479..d5fb0fac3e 100644
--- a/src/mesa/shader/program_parse.y
+++ b/src/mesa/shader/program_parse.y
@@ -2609,7 +2609,7 @@ make_error_string(const char *fmt, ...)
str = malloc(length);
if (str) {
- v_mesa_snprintf(str, length, fmt, args);
+ vsnprintf(str, length, fmt, args);
}
va_end(args);