mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-27 02:30:40 +01:00
Fix format not a string literal error with -Werror=format-security
A trivial fix for error: format not a string literal and no format arguments with compiling with -Werror=format-security flags. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
97d230b0bc
commit
23ef4a6063
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ fs_visitor::fail(const char *format, ...)
|
|||
this->fail_msg = msg;
|
||||
|
||||
if (INTEL_DEBUG & DEBUG_WM) {
|
||||
fprintf(stderr, msg);
|
||||
fprintf(stderr, "%s", msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue