aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEugeni Dodonov <[email protected]>2011-06-10 15:26:02 -0300
committerKenneth Graunke <[email protected]>2011-06-10 12:20:07 -0700
commit23ef4a6063668c187d00a0502207f0c03be5f994 (patch)
treebd9efa7453db7b9fbb33389a1fb1db63ec93a825 /src/mesa
parent97d230b0bcf8ed001f685ebac314fbd8e1955718 (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]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
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);
}
}