Skip to content
Snippets Groups Projects
Unverified Commit e57ae7d0 authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #9661 from miri64/native/fix/non-literal-syscall

native: ignore -Wformat-nonliteral for formatting syscalls
parents d6ec8e01 ad133da2
No related branches found
No related tags found
No related merge requests found
...@@ -265,6 +265,9 @@ int puts(const char *s) ...@@ -265,6 +265,9 @@ int puts(const char *s)
return r; 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) char *make_message(const char *format, va_list argp)
{ {
int size = 100; int size = 100;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment