summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_tests.c b/src/gallium/auxiliary/util/u_tests.c
index f8c001813c1..7360eb97639 100644
--- a/src/gallium/auxiliary/util/u_tests.c
+++ b/src/gallium/auxiliary/util/u_tests.c
@@ -622,8 +622,8 @@ test_texture_barrier(struct pipe_context *ctx, bool use_fbfetch,
assert(num_samples >= 1 && num_samples <= 8);
- snprintf(name, sizeof(name), "%s: %s, %u samples", __func__,
- use_fbfetch ? "FBFETCH" : "sampler", MAX2(num_samples, 1));
+ util_snprintf(name, sizeof(name), "%s: %s, %u samples", __func__,
+ use_fbfetch ? "FBFETCH" : "sampler", MAX2(num_samples, 1));
if (!ctx->screen->get_param(ctx->screen, PIPE_CAP_TEXTURE_BARRIER)) {
util_report_result_helper(SKIP, name);