summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorJon Severinsson <[email protected]>2013-08-11 19:37:01 +0200
committerTom Stellard <[email protected]>2013-08-13 19:18:14 -0700
commit9298f537a72dc2323898e91c40894f55e3c4754a (patch)
tree1c668681ba498b73d467fb6251fbdd21da2c726c /src/gallium/drivers/radeon
parent11b8f8e7e4fd9654df6cee9162aefee0bd571482 (diff)
radeon/llvm: Add missing "%s" format string to fprintf.
This fixes a compilation warning with -Wformat-security. CC: "9.2" <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/radeon_llvm_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index 1a4d4fdd22b..2dd7bf7b935 100644
--- a/src/gallium/drivers/radeon/radeon_llvm_emit.c
+++ b/src/gallium/drivers/radeon/radeon_llvm_emit.c
@@ -124,7 +124,7 @@ unsigned radeon_llvm_compile(LLVMModuleRef M, struct radeon_llvm_binary *binary,
r = LLVMTargetMachineEmitToMemoryBuffer(tm, M, LLVMObjectFile, &err,
&out_buffer);
if (r) {
- fprintf(stderr, err);
+ fprintf(stderr, "%s", err);
FREE(err);
return 1;
}