aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-20 11:55:55 +0000
committerEric Engestrom <[email protected]>2019-07-19 22:39:38 +0100
commit00e23cd96998deae429508efa10545be13420379 (patch)
tree2b96e92a623dd6092a762882015c992abcd8bfd6 /src/gallium/auxiliary
parent59c2dd1b8c7582bdb7d9a70cacd86edd9609ccb5 (diff)
util: use standard name for vasprintf()
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/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_async_debug.c2
-rw-r--r--src/gallium/auxiliary/util/u_log.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_async_debug.c b/src/gallium/auxiliary/util/u_async_debug.c
index 04faa6850e7..d7aefbfe46b 100644
--- a/src/gallium/auxiliary/util/u_async_debug.c
+++ b/src/gallium/auxiliary/util/u_async_debug.c
@@ -40,7 +40,7 @@ u_async_debug_message(void *data, unsigned *id, enum pipe_debug_type type,
char *text;
int r;
- r = util_vasprintf(&text, fmt, args);
+ r = vasprintf(&text, fmt, args);
if (r < 0)
return;
diff --git a/src/gallium/auxiliary/util/u_log.c b/src/gallium/auxiliary/util/u_log.c
index 095421edd06..4e261500a03 100644
--- a/src/gallium/auxiliary/util/u_log.c
+++ b/src/gallium/auxiliary/util/u_log.c
@@ -130,7 +130,7 @@ u_log_printf(struct u_log_context *ctx, const char *fmt, ...)
char *str = NULL;
va_start(va, fmt);
- int ret = util_vasprintf(&str, fmt, va);
+ int ret = vasprintf(&str, fmt, va);
va_end(va);
if (ret >= 0) {