From a40e0e2f90f308cbae0f6548f999ba0c8f04a7d5 Mon Sep 17 00:00:00 2001 From: Ron Eldor Date: Mon, 30 Jul 2018 12:54:50 +0300 Subject: [PATCH] use mbedtls_printf instead of printf Change call to `mbedtls_printf()` instead of`printf()` which was accidently inserted. --- benchmark/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/main.cpp b/benchmark/main.cpp index c4e1126b8..efa6bdc64 100644 --- a/benchmark/main.cpp +++ b/benchmark/main.cpp @@ -1019,7 +1019,7 @@ int main(void) { int exit_code = MBEDTLS_EXIT_FAILURE; if((exit_code = mbedtls_platform_setup(&platform_ctx)) != 0) { - printf("Platform initialization failed with error %d\r\n", exit_code); + mbedtls_printf("Platform initialization failed with error %d\r\n", exit_code); return MBEDTLS_EXIT_FAILURE; }