From: Jérémie Galarneau Date: Mon, 25 Nov 2019 23:58:56 +0000 (-0500) Subject: Fix: tests: missing argument in test output print statement X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=c13428b1e67e3dfe64866ee488f16f45522f17b6 Fix: tests: missing argument in test output print statement The format string of this print statement uses a string and none is provided. This results in a crash when running on ARM64 test boards. Signed-off-by: Jérémie Galarneau --- diff --git a/tests/unit/test_fd_tracker.c b/tests/unit/test_fd_tracker.c index a6a2a44d2..94f54769d 100644 --- a/tests/unit/test_fd_tracker.c +++ b/tests/unit/test_fd_tracker.c @@ -700,7 +700,8 @@ void test_unlink(void) /* Open two handles to the same file. */ ret = open_same_file(tracker, file_path, handles_to_open, handles); - ok(!ret, "Successfully %i handles to %s", handles_to_open); + ok(!ret, "Successfully opened %i handles to %s", handles_to_open, + file_path); if (ret) { return; }