From b88df82c557c2ef10ea7556a02bbb57e2060c271 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 17 Sep 2022 17:39:04 +0200 Subject: [PATCH] Fix another format mismatch error in char_strings runtime test --- Examples/test-suite/c/char_strings_runme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/test-suite/c/char_strings_runme.c b/Examples/test-suite/c/char_strings_runme.c index 6724a673b..65ef205ec 100644 --- a/Examples/test-suite/c/char_strings_runme.c +++ b/Examples/test-suite/c/char_strings_runme.c @@ -116,7 +116,7 @@ int main() { sprintf(ping, "%s%d", OTHERLAND_MSG, i); char *pong = char_strings_CharPingPong(ping); if (strcmp(ping, pong) != 0) { - fprintf(stderr, "Test PingPong 1 failed.\nExpected:%d\nReceived:%d\n", ping, pong); + fprintf(stderr, "Test PingPong 1 failed.\nExpected:%s\nReceived:%s\n", ping, pong); exit(1); } }