projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d230b
)
Fix format not a string literal error with -Werror=format-security
author
Eugeni Dodonov
<eugeni@mandriva.com>
Fri, 10 Jun 2011 18:26:02 +0000
(15:26 -0300)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 10 Jun 2011 19:20:07 +0000
(12:20 -0700)
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>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 09033aecd7c20348c888bd1e2a16320f352850e1..7c73a8fbf024b34ae9c5eaab5f2d67211224fb36 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-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);
}
}