kernel32: [3/4] Display Parameter as string in a TRACE: SetDefaultCommConfig

Detlef Riekenberg wine.dev at web.de
Tue Feb 20 09:38:23 CST 2007


kernel32: Display Parameter as string in a TRACE: SetDefaultCommConfig


-- 
 
By by ... Detlef

-------------- next part --------------
>From db7c8bc710832e8a97da3698ccb39c3178549c25 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Tue, 20 Feb 2007 16:01:34 +0100
Subject: [PATCH] kernel32: Display Parameter as string in a TRACE
---
 dlls/kernel32/comm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/comm.c b/dlls/kernel32/comm.c
index fffee83..191f54b 100644
--- a/dlls/kernel32/comm.c
+++ b/dlls/kernel32/comm.c
@@ -1323,7 +1323,7 @@ BOOL WINAPI SetDefaultCommConfigW(
     HMODULE hConfigModule;
     BOOL r = FALSE;
 
-    TRACE("(%p %p %x)\n",lpszDevice, lpCommConfig, dwSize);
+    TRACE("(%s, %p, %u)\n", debugstr_w(lpszDevice), lpCommConfig, dwSize);
 
     hConfigModule = LoadLibraryW(lpszSerialUI);
     if(!hConfigModule)
@@ -1357,7 +1357,7 @@ BOOL WINAPI SetDefaultCommConfigA(
     LPWSTR lpDeviceW = NULL;
     DWORD len;
 
-    TRACE("(%s %p %x)\n",debugstr_a(lpszDevice),lpCommConfig,dwSize);
+    TRACE("(%s, %p, %u)\n", debugstr_a(lpszDevice), lpCommConfig, dwSize);
 
     if (lpszDevice)
     {
-- 
1.4.1



More information about the wine-patches mailing list