summaryrefslogtreecommitdiff
path: root/src/user/app/tests/shared/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/tests/shared/printf.c')
-rw-r--r--src/user/app/tests/shared/printf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/app/tests/shared/printf.c b/src/user/app/tests/shared/printf.c
index 71122f5..d8df48a 100644
--- a/src/user/app/tests/shared/printf.c
+++ b/src/user/app/tests/shared/printf.c
@@ -2,6 +2,8 @@
#include <stdio.h>
#include <string.h>
+#pragma GCC diagnostic ignored "-Wformat-truncation"
+
static void test_printf(void) {
char buf[64];
memset(buf, '?', 64);