aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program_parse.y
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-19 13:44:12 -0700
committerBrian Paul <[email protected]>2010-02-19 13:44:12 -0700
commit150cce6aef85d22b5d32fba5d27605a98be6794a (patch)
tree2d8118efb1791e7338e7914ed813855b436e8986 /src/mesa/shader/program_parse.y
parent78a0c353d0f87c85feaa6dcb3042fc25d424f21b (diff)
mesa: fix snprintf() typo
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 75cb4cf4799..d5fb0fac3ea 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);