summaryrefslogtreecommitdiffstats
path: root/src/util/string_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/string_buffer.c')
-rw-r--r--src/util/string_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/string_buffer.c b/src/util/string_buffer.c
index c33173bfa08..31ebe3cb7e0 100644
--- a/src/util/string_buffer.c
+++ b/src/util/string_buffer.c
@@ -114,7 +114,7 @@ _mesa_string_buffer_vprintf(struct _mesa_string_buffer *str,
va_copy(arg_copy, args);
uint32_t space_left = str->capacity - str->length;
- int32_t len = util_vsnprintf(str->buf + str->length,
+ int32_t len = vsnprintf(str->buf + str->length,
space_left, format, arg_copy);
va_end(arg_copy);