[PATCH] winex11.drv: Print a debugstr and not the pointer to it

Michael Stefaniuc mstefani at winehq.org
Sun Apr 1 15:20:50 CDT 2018


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/winex11.drv/vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winex11.drv/vulkan.c b/dlls/winex11.drv/vulkan.c
index f881b0f3f1..c2c1c6a1f7 100644
--- a/dlls/winex11.drv/vulkan.c
+++ b/dlls/winex11.drv/vulkan.c
@@ -335,7 +335,7 @@ static VkResult X11DRV_vkEnumerateInstanceExtensionProperties(const char *layer_
     unsigned int i;
     VkResult res;
 
-    TRACE("layer_name %p, count %p, properties %p\n", debugstr_a(layer_name), count, properties);
+    TRACE("layer_name %s, count %p, properties %p\n", debugstr_a(layer_name), count, properties);
 
     /* This shouldn't get called with layer_name set, the ICD loader prevents it. */
     if (layer_name)
-- 
2.14.3




More information about the wine-devel mailing list