mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
gallium/util: use new util_vasprintf() function
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
864148d69e
commit
f33fbe2cf9
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include "u_log.h"
|
||||
|
||||
#include "u_memory.h"
|
||||
#include "util/u_string.h"
|
||||
|
||||
struct page_entry {
|
||||
const struct u_log_chunk_type *type;
|
||||
|
|
@ -129,7 +130,7 @@ u_log_printf(struct u_log_context *ctx, const char *fmt, ...)
|
|||
char *str = NULL;
|
||||
|
||||
va_start(va, fmt);
|
||||
int ret = vasprintf(&str, fmt, va);
|
||||
int ret = util_vasprintf(&str, fmt, va);
|
||||
va_end(va);
|
||||
|
||||
if (ret >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue