From 085c3abf27082f72978e011a652a5ece2f518099 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 20 Nov 2018 12:02:36 +0000 Subject: util: use standard name for vsnprintf() Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt Reviewed-by: Emil Velikov Reviewed-by: Eric Anholt --- src/util/string_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/string_buffer.c') 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); -- cgit v1.2.3