1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Tzafrir Cohen <tzafrir@debian.org>
Date: Fri, 15 Apr 2016 09:51:51 +0200
Subject: Fix a potential format string issue
---
tests/echo_tests.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/echo_tests.c b/tests/echo_tests.c
index 2bf0d68..c596b78 100644
--- a/tests/echo_tests.c
+++ b/tests/echo_tests.c
@@ -621,7 +621,7 @@ static void run_test(echo_can_state_t *ctx, int16_t (*tx_source)(void), int16_t
static void print_test_title(const char *title)
{
if (quiet == FALSE)
- printf(title);
+ printf("%s", title);
}
/*- End of function --------------------------------------------------------*/
|