diff --git a/cpu/native/syscalls.c b/cpu/native/syscalls.c index 3ec388180d84d0919bbcb4c1c5b26025dab4437d..d0a3b423b8fa131d7e10f8006b6b6dbba8029966 100644 --- a/cpu/native/syscalls.c +++ b/cpu/native/syscalls.c @@ -265,6 +265,9 @@ int puts(const char *s) return r; } +/* Solve 'format string is not a string literal' as it is validly used in this + * function */ +__attribute__((__format__ (__printf__, 1, 0))) char *make_message(const char *format, va_list argp) { int size = 100;