diff options
author | Brian Paul <[email protected]> | 2017-09-08 16:42:12 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-09-28 10:41:33 -0600 |
commit | f33fbe2cf966cd7e4c12b3065b721a31683b249b (patch) | |
tree | 3b36b587261f71eb43f0f80d1f8c936eba909eb3 /src/gallium/auxiliary/util/u_log.c | |
parent | 864148d69e1ecf6e8ff07b0587627e41823f1cb4 (diff) |
gallium/util: use new util_vasprintf() function
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_log.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_log.c b/src/gallium/auxiliary/util/u_log.c index 359b3e10a2e..dacbe0505e1 100644 --- a/src/gallium/auxiliary/util/u_log.c +++ b/src/gallium/auxiliary/util/u_log.c @@ -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) { |