summaryrefslogtreecommitdiffstats
path: root/src/util/string_buffer.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-20 12:02:36 +0000
committerEric Engestrom <[email protected]>2019-07-19 22:39:38 +0100
commit085c3abf27082f72978e011a652a5ece2f518099 (patch)
treef63e16e1a9f3777520ff8f1adf5d49d715f08f3b /src/util/string_buffer.c
parentdffeaa55dd1155d7a1e8feb5ecfc54fff688fcd8 (diff)
util: use standard name for vsnprintf()
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
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);