projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864148d
)
gallium/util: use new util_vasprintf() function
author
Brian Paul
<brianp@vmware.com>
Fri, 8 Sep 2017 22:42:12 +0000
(16:42 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 28 Sep 2017 16:41:33 +0000
(10:41 -0600)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_log.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_log.c
b/src/gallium/auxiliary/util/u_log.c
index 359b3e10a2e23c542205e90bd7efcd58267bdf7f..dacbe0505e1ee3b75a7aef8200ac24e2868ef030 100644
(file)
--- 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) {