From 85b74d5c14506bbae53ab02408102645e071a206 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Tue, 2 Dec 2014 10:53:47 +0000 Subject: [PATCH] tests/gem_tiled_swapping: use igt_info logging wrapper Signed-off-by: Thomas Wood --- tests/gem_tiled_swapping.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c index 3fac52f4..b92c9d79 100644 --- a/tests/gem_tiled_swapping.c +++ b/tests/gem_tiled_swapping.c @@ -165,12 +165,11 @@ igt_main threads = calloc(num_threads, sizeof(struct thread)); igt_assert(threads); - igt_log(IGT_LOG_INFO, - "Using %d 1MiB objects (available RAM: %ld/%ld, swap: %ld)\n", - count, - (long)intel_get_avail_ram_mb(), - (long)intel_get_total_ram_mb(), - (long)intel_get_total_swap_mb()); + igt_info("Using %d 1MiB objects (available RAM: %ld/%ld, swap: %ld)\n", + count, + (long)intel_get_avail_ram_mb(), + (long)intel_get_total_ram_mb(), + (long)intel_get_total_swap_mb()); intel_require_memory(count, 1024*1024, CHECK_RAM | CHECK_SWAP); for (n = 0; n < count; n++) {