From c13428b1e67e3dfe64866ee488f16f45522f17b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 25 Nov 2019 18:58:56 -0500 Subject: [PATCH] Fix: tests: missing argument in test output print statement MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/unit/test_fd_tracker.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.34.1