[PATCH vkd3d] vkd3d-shader: Pass format to shader_addline.

Isabella Bosia ibosia at codeweavers.com
Mon Sep 21 05:50:18 CDT 2020


Signed-off-by: Isabella Bosia <ibosia at codeweavers.com>
---
 libs/vkd3d-shader/trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/vkd3d-shader/trace.c b/libs/vkd3d-shader/trace.c
index 587c85c..d7495ee 100644
--- a/libs/vkd3d-shader/trace.c
+++ b/libs/vkd3d-shader/trace.c
@@ -355,7 +355,7 @@ static void shader_dump_global_flags(struct vkd3d_string_buffer *buffer, DWORD g
     {
         if (global_flags & global_flag_info[i].flag)
         {
-            shader_addline(buffer, global_flag_info[i].name);
+            shader_addline(buffer, "%s", global_flag_info[i].name);
             global_flags &= ~global_flag_info[i].flag;
             if (global_flags)
                 shader_addline(buffer, " | ");
-- 
2.25.1




More information about the wine-devel mailing list