From 2d18ff4ba30eeea640110f323ad1320b5bc75e53 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sat, 12 Nov 2022 03:26:14 +0000 Subject: [PATCH] Fixed some printf formats in the tests --- test/test_call_from_host.c | 2 +- test/test_opaque_data_type.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_call_from_host.c b/test/test_call_from_host.c index 16c48fe..10d2115 100644 --- a/test/test_call_from_host.c +++ b/test/test_call_from_host.c @@ -90,7 +90,7 @@ unsigned char* compileString(char* source, size_t* size) { } void error(char* msg) { - printf(msg); + printf("%s", msg); exit(-1); } diff --git a/test/test_opaque_data_type.c b/test/test_opaque_data_type.c index 85143f7..cfcbf7a 100644 --- a/test/test_opaque_data_type.c +++ b/test/test_opaque_data_type.c @@ -88,7 +88,7 @@ unsigned char* compileString(char* source, size_t* size) { } void error(char* msg) { - printf(msg); + printf("%s", msg); exit(-1); }