diff mbox

[i-g-t,2/5] tests/gem_tiled_swapping: use igt_info logging wrapper

Message ID 1417540539-23069-2-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Dec. 2, 2014, 5:15 p.m. UTC
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 tests/gem_tiled_swapping.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c
index 11bb245..7637cf3 100644
--- a/tests/gem_tiled_swapping.c
+++ b/tests/gem_tiled_swapping.c
@@ -163,12 +163,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++) {