diff options
author | Eugeni Dodonov <[email protected]> | 2011-06-10 15:26:02 -0300 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-06-10 12:20:07 -0700 |
commit | 23ef4a6063668c187d00a0502207f0c03be5f994 (patch) | |
tree | bd9efa7453db7b9fbb33389a1fb1db63ec93a825 | |
parent | 97d230b0bcf8ed001f685ebac314fbd8e1955718 (diff) |
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 <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 09033aecd7c..7c73a8fbf02 100644 --- 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); } } |