1
0
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:
Martine Lenders 2018-08-01 09:24:32 +02:00 committed by GitHub
commit e57ae7d05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;