From 116dd241df3350892df19cf6a72e22ce887435be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?MrSm=C3=B6r?= <66489839+MrSmoer@users.noreply.github.com> Date: Fri, 31 Oct 2025 20:38:30 +0100 Subject: [PATCH] Fix warning when compiling with -Wformat-security in tests/test_atmega328_jsys.c --- tests/test_atmega328_jsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_atmega328_jsys.c b/tests/test_atmega328_jsys.c index 0fc67d24..f9c8c01f 100644 --- a/tests/test_atmega328_jsys.c +++ b/tests/test_atmega328_jsys.c @@ -66,7 +66,7 @@ static void jsys_handler(struct avr_irq_t *irq, uint32_t value, void *param) /* Print a string embedded in the flash. */ ++pc; - printf((const char *)pc); /* Can not use return value!. */ + printf("%s", (const char *)pc); /* Can not use return value!. */ pc += strlen((const char *)pc); break; }