mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #9661 from miri64/native/fix/non-literal-syscall
native: ignore -Wformat-nonliteral for formatting syscalls
This commit is contained in:
commit
e57ae7d05e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user